From 659ab9846e81d95bb75dbb3c00147324bf0d6541 Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Tue, 16 Aug 2005 23:15:13 +0000 Subject: [PATCH] Fixed small bug in views.auth.login.login git-svn-id: http://code.djangoproject.com/svn/django/trunk@520 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/views/auth/login.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/views/auth/login.py b/django/views/auth/login.py index a8d7d143d2..f272c970ff 100644 --- a/django/views/auth/login.py +++ b/django/views/auth/login.py @@ -22,7 +22,7 @@ def login(request): else: errors = {} response = HttpResponse() - response.session.set_test_cookie() + request.session.set_test_cookie() t = template_loader.get_template('registration/login') c = Context(request, { 'form': formfields.FormWrapper(manipulator, request.POST, errors),