settings(minor): use cached_db for session, use localhost as domain

This commit is contained in:
Langhammer, Jens
2019-10-09 14:30:53 +02:00
parent fff99f0e3d
commit 3b7e47dbe2
4 changed files with 5 additions and 2 deletions

View File

@ -117,7 +117,7 @@ CACHES = {
}
DJANGO_REDIS_IGNORE_EXCEPTIONS = True
DJANGO_REDIS_LOG_IGNORED_EXCEPTIONS = True
SESSION_ENGINE = "django.contrib.sessions.backends.cache"
SESSION_ENGINE = "django.contrib.sessions.backends.cached_db"
SESSION_CACHE_ALIAS = "default"
MIDDLEWARE = [