Make cache validation for settings API depend on effective config
This commit is contained in:
1 parent
a58b167bed
commit
f688786fd5
1 file changed
+1
@@ -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))
|
||||
|
||||
Reference in new issue
Block a user