Ticket #17296: 17296.patch
File 17296.patch, 588 bytes (added by , 13 years ago) |
---|
-
django/contrib/auth/views.py
29 29 """ 30 30 Displays the login form and handles the login action. 31 31 """ 32 redirect_to = request.REQUEST.get(redirect_field_name, '') 32 redirect_to = (request.REQUEST.get(redirect_field_name, '') 33 or extra_context.get(redirect_field_name, '')) 33 34 34 35 if request.method == "POST": 35 36 form = authentication_form(data=request.POST)