diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2007-08-14 22:26:34 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2007-08-14 22:26:34 +0000 |
| commit | b38375ee4c4f2910e4885c6e3ea6b2a64704715b (patch) | |
| tree | b0df33f4401e8bed5cde3b15a5dc5cf9d1cd564c /django/contrib/auth/views.py | |
| parent | 6aae9b2aa413b16e77e864ac69aa616aa7e2d969 (diff) | |
Fixed bug in [5885]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5886 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/contrib/auth/views.py')
| -rw-r--r-- | django/contrib/auth/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/contrib/auth/views.py b/django/contrib/auth/views.py index a0dc59c718..6c40228fab 100644 --- a/django/contrib/auth/views.py +++ b/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), |
