mirror of
https://github.com/django/django.git
synced 2025-03-13 10:50:55 +00:00
[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`.
|
log the user in. Defaults to :file:`registration/login.html`.
|
||||||
|
|
||||||
* ``redirect_field_name``: The name of a ``GET`` field containing the
|
* ``redirect_field_name``: The name of a ``GET`` field containing the
|
||||||
URL to redirect to after login. Overrides ``next`` if the given
|
URL to redirect to after login. Defaults to ``next``.
|
||||||
``GET`` parameter is passed.
|
|
||||||
|
|
||||||
* ``authentication_form``: A callable (typically just a form class) to
|
* ``authentication_form``: A callable (typically just a form class) to
|
||||||
use for authentication. Defaults to
|
use for authentication. Defaults to
|
||||||
@ -692,8 +691,8 @@ patterns.
|
|||||||
:file:`registration/logged_out.html` if no argument is supplied.
|
:file:`registration/logged_out.html` if no argument is supplied.
|
||||||
|
|
||||||
* ``redirect_field_name``: The name of a ``GET`` field containing the
|
* ``redirect_field_name``: The name of a ``GET`` field containing the
|
||||||
URL to redirect to after log out. Overrides ``next_page`` if the given
|
URL to redirect to after log out. Defaults to ``next``. Overrides the
|
||||||
``GET`` parameter is passed.
|
``next_page`` URL if the given ``GET`` parameter is passed.
|
||||||
|
|
||||||
* ``current_app``: A hint indicating which application contains the current
|
* ``current_app``: A hint indicating which application contains the current
|
||||||
view. See the :ref:`namespaced URL resolution strategy
|
view. See the :ref:`namespaced URL resolution strategy
|
||||||
|
Loading…
x
Reference in New Issue
Block a user