settings(minor): use cached_db for session, use localhost as domain
This commit is contained in:
@ -16,7 +16,7 @@ debug: false
|
||||
# Error reporting, sends stacktrace to sentry.services.beryju.org
|
||||
error_report_enabled: true
|
||||
|
||||
domain: passbook.local
|
||||
domain: localhost
|
||||
|
||||
passbook:
|
||||
sign_up:
|
||||
|
||||
@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user