diff options
author | Leif Johansson <leifj@sunet.se> | 2011-05-10 12:17:51 +0200 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2011-05-10 12:17:51 +0200 |
commit | e5ec70c54ce20f65877840b7277b8d8a0b0532f5 (patch) | |
tree | e6c1be393a7dd5eeb1143d1a464e53c52d832702 /src | |
parent | a9ce25bede55de4c81abebcea1bfdfe978a282ae (diff) |
sessions
Diffstat (limited to 'src')
-rw-r--r-- | src/meetingtools/apps/auth/views.py | 1 | ||||
-rw-r--r-- | src/meetingtools/settings.py | 3 |
2 files changed, 2 insertions, 2 deletions
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. |