fix(caches): invalidate settings cache on defaults change
This commit is contained in:
parent
e9a3cf8c29
commit
18c524aa5f
1 changed files with 1 additions and 0 deletions
|
|
@ -67,6 +67,7 @@ class AdminDefaultSettingsView(BaseAppView):
|
|||
Session().add(setting)
|
||||
Session().commit()
|
||||
h.flash(_("Default settings updated successfully"), category="success")
|
||||
SettingsModel().invalidate_settings_cache()
|
||||
|
||||
except formencode.Invalid as errors:
|
||||
data = render(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue