mirror of https://github.com/django/django.git
[1.6.x] Fixed #21294 -- Clarified the logout next_page argument.
Thanks wim at go2people.nl for the report.
Backport of 51e6575472
from master
This commit is contained in:
parent
142757c61e
commit
1cdf7f83ff
|
@ -574,8 +574,7 @@ patterns.
|
|||
log the user in. Defaults to :file:`registration/login.html`.
|
||||
|
||||
* ``redirect_field_name``: The name of a ``GET`` field containing the
|
||||
URL to redirect to after login. Overrides ``next`` if the given
|
||||
``GET`` parameter is passed.
|
||||
URL to redirect to after login. Defaults to ``next``.
|
||||
|
||||
* ``authentication_form``: A callable (typically just a form class) to
|
||||
use for authentication. Defaults to
|
||||
|
@ -692,8 +691,8 @@ patterns.
|
|||
:file:`registration/logged_out.html` if no argument is supplied.
|
||||
|
||||
* ``redirect_field_name``: The name of a ``GET`` field containing the
|
||||
URL to redirect to after log out. Overrides ``next_page`` if the given
|
||||
``GET`` parameter is passed.
|
||||
URL to redirect to after log out. Defaults to ``next``. Overrides the
|
||||
``next_page`` URL if the given ``GET`` parameter is passed.
|
||||
|
||||
* ``current_app``: A hint indicating which application contains the current
|
||||
view. See the :ref:`namespaced URL resolution strategy
|
||||
|
|
Loading…
Reference in New Issue