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:
|
if len(ids) > 1:
|
||||||
response = data
|
response = data
|
||||||
response['id'] = edited
|
response['id'] = edited
|
||||||
|
for key in list(state.cache):
|
||||||
|
if key.startswith('group:'):
|
||||||
|
state.cache.delete(key)
|
||||||
return response
|
return response
|
||||||
actions.register(edit, cache=False)
|
actions.register(edit, cache=False)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue