From a9ce25bede55de4c81abebcea1bfdfe978a282ae Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Tue, 10 May 2011 10:45:53 +0200 Subject: sessions --- src/meetingtools/settings.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/meetingtools') diff --git a/src/meetingtools/settings.py b/src/meetingtools/settings.py index b777659..0992a1b 100644 --- a/src/meetingtools/settings.py +++ b/src/meetingtools/settings.py @@ -64,7 +64,8 @@ LOGOUT_URL = "%s/accounts/logout/" % PREFIX_URL # Make this unique, and don't share it with anybody. SECRET_KEY = 'tz78l!c=cl2=jic5$2#(bq)7-4s1ivtm*a+q0w1yi0$)hrmc7l' -SESSION_ENGINE = "django.contrib.sessions.backends.cached_db" +SESSION_ENGINE = "django.contrib.sessions.backends.db" +SESSION_EXPIRE_AT_BROWSER_CLOSE = True # List of callables that know how to import templates from various sources. TEMPLATE_LOADERS = ( -- cgit v1.1