clear cache after edit
This commit is contained in:
parent
c3db57922a
commit
b827e0c6ab
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue