fix vk auth config

This commit is contained in:
bakatrouble 2019-01-25 19:39:17 +03:00
parent 08e6666437
commit 05cdc18814

View File

@ -55,4 +55,6 @@ class DatabaseConfig(BaseConfig):
return settings
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()