mirror of
https://github.com/django/django.git
synced 2025-03-11 09:52:38 +00:00
Fixed bug in [5885]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5886 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
6aae9b2aa4
commit
b38375ee4c
@ -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),
|
||||
|
Loading…
x
Reference in New Issue
Block a user