diff --git a/src/etools_datamart/config/settings.py b/src/etools_datamart/config/settings.py index 3e8df820..02ef5bc1 100644 --- a/src/etools_datamart/config/settings.py +++ b/src/etools_datamart/config/settings.py @@ -29,7 +29,7 @@ AZURE_STORAGE_ACCESS_MODE=(str, "r"), AZURE_STORAGE_ACCESS_TTL=(int, 60 * 60 * 24), AZURE_TENANT=(str, ""), - CACHE_DISABLED=(bool, False), + CACHES_DISABLED=(bool, False), CACHES=(str, ""), CACHE_URL=(str, "redis://127.0.0.1:6379/1"), CACHE_URL_API=(str, "redis://127.0.0.1:6379/2?key_prefix=api"), @@ -229,7 +229,7 @@ "api": env.cache("CACHE_URL_API"), } -if env("CACHE_DISABLED"): +if env("CACHES_DISABLED"): CACHES = { "default": { "BACKEND": "django.core.cache.backends.dummy.DummyCache",