Correction to waldo login view to pass the request into the login_form for GET reques...
authorStephen Burrows <stephen.r.burrows@gmail.com>
Mon, 19 Sep 2011 06:17:39 +0000 (23:17 -0700)
committerStephen Burrows <stephen.r.burrows@gmail.com>
Mon, 19 Sep 2011 06:17:39 +0000 (23:17 -0700)
philo/contrib/waldo/models.py

index 025cfbe..730b7db 100644 (file)
@@ -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()