mirror of
https://github.com/jazzband/django-constance.git
synced 2026-03-16 22:40:24 +00:00
Fix DatabaseBackend clear
This commit is contained in:
parent
e8b13b0619
commit
647a8627c0
1 changed files with 1 additions and 1 deletions
|
|
@ -56,4 +56,4 @@ class DatabaseBackend(Backend):
|
|||
|
||||
def clear(self, sender, instance, created, **kwargs):
|
||||
if db_cache and not created:
|
||||
db_cache.clear()
|
||||
db_cache.delete_many(settings.CONFIG.keys())
|
||||
|
|
|
|||
Loading…
Reference in a new issue