From b6ffc66d40f2a02ef63c6fe3ae3286315d6206cc Mon Sep 17 00:00:00 2001 From: Emanuel Schuetze Date: Mon, 23 Jul 2012 22:51:17 +0200 Subject: [PATCH] Website: Used cache based sessions instead of database-backed sessions. --- extras/website/website/settings.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/extras/website/website/settings.py b/extras/website/website/settings.py index c2d38e3d2..844f94da2 100644 --- a/extras/website/website/settings.py +++ b/extras/website/website/settings.py @@ -110,6 +110,8 @@ MIDDLEWARE_CLASSES = ( # 'django.middleware.clickjacking.XFrameOptionsMiddleware', ) +SESSION_ENGINE = 'django.contrib.sessions.backends.cache' + ROOT_URLCONF = 'website.urls' # Python dotted path to the WSGI application used by Django's runserver.