clear cache after edit

This commit is contained in:
j 2016-01-05 19:34:03 +05:30
parent c3db57922a
commit b827e0c6ab

View file

@ -150,6 +150,9 @@ def edit(data):
if len(ids) > 1:
response = data
response['id'] = edited
for key in list(state.cache):
if key.startswith('group:'):
state.cache.delete(key)
return response
actions.register(edit, cache=False)