mirror of
https://github.com/Hopiu/django-tos.git
synced 2026-05-06 01:34:41 +00:00
Merge pull request #2 from cypreess/master
Fixing ugly bug with {{ next }} in login forms
This commit is contained in:
commit
f7044f1107
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