Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed bug in [5885]

git-svn-id: http://code.djangoproject.com/svn/django/trunk@5886 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit b38375ee4c4f2910e4885c6e3ea6b2a64704715b 1 parent 6aae9b2
@adrianholovaty adrianholovaty authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/contrib/auth/views.py
View
2  django/contrib/auth/views.py
@@ -31,7 +31,7 @@ def login(request, template_name='registration/login.html'):
if Site._meta.installed:
current_site = Site.objects.get_current()
else:
- current_site = RequestSite(self.request)
+ current_site = RequestSite(request)
return render_to_response(template_name, {
'form': oldforms.FormWrapper(manipulator, request.POST, errors),

0 comments on commit b38375e

Please sign in to comment.
Something went wrong with that request. Please try again.