Make cache validation for settings API depend on effective config

This commit is contained in:
Gina Häußge 2016-11-16 15:38:13 +01:00
parent a58b167bed
commit f688786fd5

View file

@ -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))