summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2011-05-10 10:45:53 +0200
committerLeif Johansson <leifj@sunet.se>2011-05-10 10:45:53 +0200
commita9ce25bede55de4c81abebcea1bfdfe978a282ae (patch)
tree4d86502fa56a692274ba793ad5dc983f4e188100 /src
parentc30b866cba6e27f8bf2e3de658be07aaf20cc59f (diff)
sessions
Diffstat (limited to 'src')
-rw-r--r--src/meetingtools/settings.py3
1 files changed, 2 insertions, 1 deletions
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 = (