Dummy cache for tests
This commit is contained in:
parent
86b3789ffe
commit
4d0fa2db4a
2 changed files with 8 additions and 2 deletions
|
@ -120,7 +120,13 @@ STREAMS = [
|
|||
]
|
||||
|
||||
# Redis cache backend
|
||||
if not env("USE_LOCAL_CACHE", False):
|
||||
if env("USE_DUMMY_CACHE", False):
|
||||
CACHES = {
|
||||
'default': {
|
||||
'BACKEND': 'django.core.cache.backends.dummy.DummyCache',
|
||||
}
|
||||
}
|
||||
else:
|
||||
# pylint: disable=line-too-long
|
||||
CACHES = {
|
||||
"default": {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue