From e5ec70c54ce20f65877840b7277b8d8a0b0532f5 Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Tue, 10 May 2011 12:17:51 +0200 Subject: sessions --- src/meetingtools/apps/auth/views.py | 1 - src/meetingtools/settings.py | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/meetingtools/apps/auth/views.py b/src/meetingtools/apps/auth/views.py index b1f9567..7b2e0b8 100644 --- a/src/meetingtools/apps/auth/views.py +++ b/src/meetingtools/apps/auth/views.py @@ -57,7 +57,6 @@ def logout(request): def login(request): return render_to_response('apps/auth/login.html',make_response_dict(request,{'next': request.REQUEST.get("next")})); - def join_group(group,**kwargs): user = kwargs['user'] acc = _acc_for_user(user) diff --git a/src/meetingtools/settings.py b/src/meetingtools/settings.py index 0992a1b..34a4c06 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.db" +SESSION_ENGINE = "django.contrib.sessions.backends.file" +SESSION_FILE_PATH = "/tmp" SESSION_EXPIRE_AT_BROWSER_CLOSE = True # List of callables that know how to import templates from various sources. -- cgit v1.1