Fixed broken cacheops
This commit is contained in:
parent
ed0fda03f1
commit
5d5c2b9438
|
@ -725,7 +725,7 @@ CACHEOPS_ENABLED = bool(CACHEOPS_DURATION)
|
|||
|
||||
if CACHEOPS_ENABLED:
|
||||
INSTALLED_APPS += ("cacheops",)
|
||||
CACHEOPS_REDIS = CACHE_URL
|
||||
CACHEOPS_REDIS = env("CACHE_URL", default=CACHE_DEFAULT)
|
||||
CACHEOPS_PREFIX = lambda _: "cacheops" # noqa
|
||||
CACHEOPS_DEFAULTS = {"timeout": CACHEOPS_DURATION}
|
||||
CACHEOPS = {
|
||||
|
|
Loading…
Reference in New Issue