Ticket #3393: 3393.diff
File 3393.diff, 624 bytes (added by , 17 years ago) |
---|
-
django/contrib/auth/views.py
11 11 12 12 def login(request, template_name='registration/login.html', redirect_field_name=REDIRECT_FIELD_NAME): 13 13 "Displays the login form and handles the login action." 14 manipulator = AuthenticationForm( request)14 manipulator = AuthenticationForm() 15 15 redirect_to = request.REQUEST.get(redirect_field_name, '') 16 16 if request.POST: 17 17 errors = manipulator.get_validation_errors(request.POST)