Refs #26929 -- Removed extra_context parameter of contrib.auth.views.logout_then_login().

Per deprecation timeline.
This commit is contained in:
Tim Graham 2017-09-02 19:45:09 -04:00
parent 4f313e284e
commit 6e40b70bf4
4 changed files with 5 additions and 26 deletions

View file

@ -1126,7 +1126,7 @@ implementation details see :ref:`using-the-views`.
:attr:`request.META['SERVER_NAME'] <django.http.HttpRequest.META>`.
For more on sites, see :doc:`/ref/contrib/sites`.
.. function:: logout_then_login(request, login_url=None, extra_context=None)
.. function:: logout_then_login(request, login_url=None)
Logs a user out, then redirects to the login page.
@ -1137,14 +1137,6 @@ implementation details see :ref:`using-the-views`.
* ``login_url``: The URL of the login page to redirect to.
Defaults to :setting:`settings.LOGIN_URL <LOGIN_URL>` if not supplied.
* ``extra_context``: A dictionary of context data that will be added to the
default context data passed to the template.
.. deprecated:: 1.11
The unused ``extra_context`` parameter is deprecated and will be
removed in Django 2.1.
.. class:: PasswordChangeView
.. versionadded:: 1.11