diff --git a/api/config/settings/common.py b/api/config/settings/common.py index 9f8cfdf5063d1685db76deee57c6f6f35382a7e8..b55cfe84af1523220c548b024eadd5f4aa0a5d62 100644 --- a/api/config/settings/common.py +++ b/api/config/settings/common.py @@ -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 = {