From: Joseph Spiros Date: Wed, 29 Jun 2011 11:17:40 +0000 (-0400) Subject: Merge branch 'master' of git://github.com/lapilofu/philo into develop X-Git-Tag: philo-0.9.1^2~6 X-Git-Url: http://git.ithinksw.org/philo.git/commitdiff_plain/148d23c4d83c672dfde4bd23d27b46857be8339f?hp=1a56dac4a9131e6c453ef496fe8a496969e8ff0d Merge branch 'master' of git://github.com/lapilofu/philo into develop * 'master' of git://github.com/lapilofu/philo: Small correction to a bug that was raising an error on the account_required method of AccountMultiView in instances where no manage_account_page is specified. 'node' should be instead 'request.node'. --- diff --git a/philo/contrib/waldo/models.py b/philo/contrib/waldo/models.py index 411cf8e..72c81c3 100644 --- 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)