Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed small bug in views.auth.login.login

git-svn-id: http://code.djangoproject.com/svn/django/trunk@520 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 659ab9846e81d95bb75dbb3c00147324bf0d6541 1 parent 72109f4
@adrianholovaty adrianholovaty authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/views/auth/login.py
View
2  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),
Please sign in to comment.
Something went wrong with that request. Please try again.