Kaydet (Commit) b38375ee authored tarafından Adrian Holovaty's avatar Adrian Holovaty

Fixed bug in [5885]

git-svn-id: http://code.djangoproject.com/svn/django/trunk@5886 bcc190cf-cafb-0310-a4f2-bffc1f526a37
üst 6aae9b2a
...@@ -31,7 +31,7 @@ def login(request, template_name='registration/login.html'): ...@@ -31,7 +31,7 @@ def login(request, template_name='registration/login.html'):
if Site._meta.installed: if Site._meta.installed:
current_site = Site.objects.get_current() current_site = Site.objects.get_current()
else: else:
current_site = RequestSite(self.request) current_site = RequestSite(request)
return render_to_response(template_name, { return render_to_response(template_name, {
'form': oldforms.FormWrapper(manipulator, request.POST, errors), 'form': oldforms.FormWrapper(manipulator, request.POST, errors),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment