From aa64229f72f03f7340b4f957e72560847f4f56b8 Mon Sep 17 00:00:00 2001 From: seba Date: Sat, 5 Mar 2011 00:59:47 +0100 Subject: [PATCH] logout works --- k4ever/k4ever.db | Bin 64512 -> 64512 bytes k4ever/main/urls.py | 5 ++++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/k4ever/k4ever.db b/k4ever/k4ever.db index e53bb24b3eeb008db4bdc14d4d2d436afefaaa33..a822f241d43297a050a4f6df741a47acd9259062 100644 GIT binary patch delta 270 zcmZqp!QAkJd4d!lBR2yBgFO&~!9)!+CPwa!2^Hpi##W{lR;I>!Mixfq#zvc;nM+CV zu>ut_GXDlCwP*glneod9W)VAfF6P?|EX?i<%oCZnF}pM8FyG!d(Ue(Lh1r+U(j?i` zEYUF4*euP!G{wNeAUQ3`)HKx~(I6=?&D1E7V{%S-J`2z|)rk`oCyB6ZW{LPSTYwiR zz|3gLz-Y;&#w^URaN@)%j5C15X3N0iOk5yYMxZdW@WzRp%o>eZ9IU=g$&Q4qnw%K8 XPTWw}z*yJNLcs{;J7WuDV`BpV?E*pb delta 308 zcmZqp!QAkJd4d!l!&3$Z274%Gny6vM#PD=uLWMb>k(IHDm5G6#fr+8Hnd#nrM({WNeydWMq<*oRn;k zWRhZNl#-V2=w+E4=vwMm6_({&<(3=e;+N?c;%N|-692d_Ie49ZP=t{-OIpO)LD$Kr&gxtx#C}PfLL7w-_lNDGb OSQ&xF+JU(f16TpDgHbvF diff --git a/k4ever/main/urls.py b/k4ever/main/urls.py index 9f1e042..f42a0f1 100644 --- a/k4ever/main/urls.py +++ b/k4ever/main/urls.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- from django.conf.urls.defaults import * from django.conf import settings @@ -6,5 +7,7 @@ urlpatterns = patterns('', (r'^$', 'django.views.generic.simple.redirect_to', {'url': 'login/'}), (r'^register/$', 'main.views.register'), (r'^login/$', 'django.contrib.auth.views.login'), - (r'^logout/$', 'django.contrib.auth.views.logout', {'template_name': 'registration/logout.html'}), + (r'^logout/$', 'django.contrib.auth.views.logout', + {'template_name': 'registration/logout.html', + 'next_page': '/user/login/'}), )