Use in-memory cache for CI tests
This commit is contained in:
parent
66456fc508
commit
2cad762646
2 changed files with 5 additions and 0 deletions
|
@ -130,6 +130,10 @@ 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…
Add table
Add a link
Reference in a new issue