Fixes cache syntax
This commit is contained in:
parent
2cad762646
commit
d8dbf94c29
@ -120,6 +120,7 @@ STREAMS = [
|
||||
]
|
||||
|
||||
# Redis cache backend
|
||||
if not env("USE_LOCAL_CACHE", False):
|
||||
# pylint: disable=line-too-long
|
||||
CACHES = {
|
||||
"default": {
|
||||
@ -130,9 +131,6 @@ CACHES = {
|
||||
},
|
||||
}
|
||||
}
|
||||
if env("USE_LOCAL_CACHE", False):
|
||||
# use the default local memory cache for testing
|
||||
CACHE = None
|
||||
|
||||
SESSION_ENGINE = "django.contrib.sessions.backends.cache"
|
||||
SESSION_CACHE_ALIAS = "default"
|
||||
|
Loading…
x
Reference in New Issue
Block a user