git.ithinksw.org
/
philo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
3c9e34c
)
Minor correction to Waldo logout view to fall back to the node's absolute_url if...
author
Stephen Burrows
<stephen.r.burrows@gmail.com>
Mon, 1 Nov 2010 15:05:52 +0000
(11:05 -0400)
committer
Stephen Burrows
<stephen.r.burrows@gmail.com>
Mon, 1 Nov 2010 15:23:49 +0000
(11:23 -0400)
contrib/waldo/models.py
patch
|
blob
|
history
diff --git
a/contrib/waldo/models.py
b/contrib/waldo/models.py
index
e2d70ae
..
f1ee05a
100644
(file)
--- a/
contrib/waldo/models.py
+++ b/
contrib/waldo/models.py
@@
-164,7
+164,7
@@
class LoginMultiView(MultiView):
login = never_cache(login)
def logout(self, request):
login = never_cache(login)
def logout(self, request):
- return auth_views.logout(request, request.META
['HTTP_REFERER']
)
+ return auth_views.logout(request, request.META
.get('HTTP_REFERER', request.node.get_absolute_url())
)
def login_required(self, view):
def inner(request, *args, **kwargs):
def login_required(self, view):
def inner(request, *args, **kwargs):