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
(parent:
3d786c6
)
Small correction to a bug that was raising an error on the account_required method...
author
Harris Lapiroff
<harris@chromamine.com>
Tue, 28 Jun 2011 14:28:03 +0000
(10:28 -0400)
committer
Harris Lapiroff
<harris@chromamine.com>
Tue, 28 Jun 2011 19:05:36 +0000
(15:05 -0400)
philo/contrib/waldo/models.py
patch
|
blob
|
history
diff --git
a/philo/contrib/waldo/models.py
b/philo/contrib/waldo/models.py
index
411cf8e
..
72c81c3
100644
(file)
--- a/
philo/contrib/waldo/models.py
+++ b/
philo/contrib/waldo/models.py
@@
-501,7
+501,7
@@
class AccountMultiView(RegistrationMultiView):
self.set_requirement_redirect(request, redirect=request.path)
redirect = self.reverse('account', node=request.node)
else:
- redirect = node.get_absolute_url()
+ redirect =
request.
node.get_absolute_url()
return HttpResponseRedirect(redirect)
return view(request, *args, **kwargs)