From: Stephen Burrows Date: Mon, 19 Sep 2011 06:17:39 +0000 (-0700) Subject: Correction to waldo login view to pass the request into the login_form for GET reques... X-Git-Tag: philo-0.9.1^2~2^2~4 X-Git-Url: http://git.ithinksw.org/philo.git/commitdiff_plain/62a09d63946a6942250f5af2f1159b37a0bbc9fa Correction to waldo login view to pass the request into the login_form for GET requests as well. --- diff --git a/philo/contrib/waldo/models.py b/philo/contrib/waldo/models.py index 025cfbe..730b7db 100644 --- a/philo/contrib/waldo/models.py +++ b/philo/contrib/waldo/models.py @@ -107,7 +107,7 @@ class LoginMultiView(MultiView): return HttpResponseRedirect(redirect) else: - form = self.login_form() + form = self.login_form(request) request.session.set_test_cookie()