Make cache validation for settings API depend on effective config
This commit is contained in:
parent
a58b167bed
commit
f688786fd5
1 changed files with 1 additions and 0 deletions
|
|
@ -40,6 +40,7 @@ def _etag(lm=None):
|
|||
import hashlib
|
||||
hash = hashlib.sha1()
|
||||
hash.update(str(lm))
|
||||
hash.update(repr(settings().effective))
|
||||
hash.update(repr(connection_options))
|
||||
hash.update(repr(plugins))
|
||||
hash.update(repr(roles))
|
||||
|
|
|
|||
Loading…
Reference in a new issue