fix group cache
This commit is contained in:
parent
6d659b8049
commit
0a4689387b
3 changed files with 8 additions and 3 deletions
|
|
@ -140,9 +140,7 @@ 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)
|
||||
state.cache.clear('group:')
|
||||
return response
|
||||
actions.register(edit, cache=False)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue