Commit 3ec994de authored by Tim Graham's avatar Tim Graham
Browse files

[1.5.x] Fixed #21294 -- Clarified the logout next_page argument.

Thanks wim at go2people.nl for the report.

Backport of 51e65754 from master
parent e21d935f
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -578,8 +578,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
@@ -696,8 +695,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