mirror of
https://github.com/Hopiu/django-tos.git
synced 2026-03-17 04:20:22 +00:00
Fixing redirect field name bug on login form
This commit is contained in:
parent
705356cb53
commit
b3f1dce50a
1 changed files with 1 additions and 1 deletions
|
|
@ -123,7 +123,7 @@ def login(request, template_name='registration/login.html',
|
|||
|
||||
return render_to_response(template_name, {
|
||||
'form': form,
|
||||
'redirect_field_name': redirect_to,
|
||||
redirect_field_name: redirect_to,
|
||||
'site': current_site,
|
||||
'site_name': current_site.name,
|
||||
}, context_instance=RequestContext(request))
|
||||
|
|
|
|||
Loading…
Reference in a new issue