Website: Used cache based sessions instead of database-backed sessions.
This commit is contained in:
parent
769bceb80e
commit
b6ffc66d40
@ -110,6 +110,8 @@ MIDDLEWARE_CLASSES = (
|
|||||||
# 'django.middleware.clickjacking.XFrameOptionsMiddleware',
|
# 'django.middleware.clickjacking.XFrameOptionsMiddleware',
|
||||||
)
|
)
|
||||||
|
|
||||||
|
SESSION_ENGINE = 'django.contrib.sessions.backends.cache'
|
||||||
|
|
||||||
ROOT_URLCONF = 'website.urls'
|
ROOT_URLCONF = 'website.urls'
|
||||||
|
|
||||||
# Python dotted path to the WSGI application used by Django's runserver.
|
# Python dotted path to the WSGI application used by Django's runserver.
|
||||||
|
Loading…
Reference in New Issue
Block a user