We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d6a54b commit 07362d9Copy full SHA for 07362d9
dynamic_preferences/managers.py
@@ -109,7 +109,7 @@ def to_cache(self, pref):
109
# resulting in more DB queries, so we cache an arbitrary value
110
# to ensure the cache is hot (even with empty values)
111
value = preferences_settings.CACHE_NONE_VALUE
112
- self.cache.set(key, value, None)
+ self.cache.set(key, value)
113
114
def pref_obj(self, section, name):
115
return self.registry.get(section=section, name=name)
0 commit comments