fix vk auth config
This commit is contained in:
parent
08e6666437
commit
05cdc18814
@ -55,4 +55,6 @@ class DatabaseConfig(BaseConfig):
|
|||||||
return settings
|
return settings
|
||||||
|
|
||||||
def save(self):
|
def save(self):
|
||||||
FeedsAppConfigForm(data={'vk_auth': yaml.dump(self._settings)}).save()
|
form = FeedsAppConfigForm(data={'vk_auth': yaml.dump(self._settings)})
|
||||||
|
form.is_valid()
|
||||||
|
form.save()
|
||||||
|
Loading…
Reference in New Issue
Block a user