mirror of
https://github.com/django/django.git
synced 2024-12-26 11:06:07 +00:00
Fixed small bug in views.auth.login.login
git-svn-id: http://code.djangoproject.com/svn/django/trunk@520 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
72109f4e35
commit
659ab9846e
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user