Fixed broken cacheops

This commit is contained in:
Agate 2020-04-20 17:20:51 +02:00
parent ed0fda03f1
commit 5d5c2b9438
No known key found for this signature in database
GPG Key ID: 6B501DFD73514E14
1 changed files with 1 additions and 1 deletions

View File

@ -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 = {