summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAndrew Nester <andrew.nester.dev@gmail.com>2016-07-22 17:43:54 +0300
committerTim Graham <timograham@gmail.com>2016-07-28 11:57:02 -0400
commit0ba179194bc261f49b04a5eac85322b56a537e45 (patch)
treee67828d4cb5d020bb34afffab062f7c1923ac255 /docs
parent412b4126d70939903df77a72223012b2c021c511 (diff)
Fixed #26929 -- Deprecated extra_context parameter of contrib.auth.views.logout_then_login().
Diffstat (limited to 'docs')
-rw-r--r--docs/internals/deprecation.txt3
-rw-r--r--docs/releases/1.11.txt3
-rw-r--r--docs/topics/auth/default.txt5
3 files changed, 11 insertions, 0 deletions
diff --git a/docs/internals/deprecation.txt b/docs/internals/deprecation.txt
index 23b7a2d0b2..400fcf8789 100644
--- a/docs/internals/deprecation.txt
+++ b/docs/internals/deprecation.txt
@@ -20,6 +20,9 @@ details on these changes.
``password_reset_confirm()``, and ``password_reset_complete()`` will be
removed.
+* The ``extra_context`` parameter of ``contrib.auth.views.logout_then_login()``
+ will be removed.
+
.. _deprecation-removed-in-2.0:
2.0
diff --git a/docs/releases/1.11.txt b/docs/releases/1.11.txt
index 061f9a4fd1..3c220cc22d 100644
--- a/docs/releases/1.11.txt
+++ b/docs/releases/1.11.txt
@@ -366,6 +366,9 @@ Miscellaneous
:class:`~django.contrib.auth.views.LoginView` and
:class:`~django.contrib.auth.views.LogoutView`.
+* The unused ``extra_context`` parameter of
+ ``contrib.auth.views.logout_then_login()`` is deprecated.
+
* ``contrib.auth``’s ``password_change()``, ``password_change_done()``,
``password_reset()``, ``password_reset_done()``, ``password_reset_confirm()``,
and ``password_reset_complete()`` function-based views are deprecated in favor
diff --git a/docs/topics/auth/default.txt b/docs/topics/auth/default.txt
index 70798db28e..60178348e9 100644
--- a/docs/topics/auth/default.txt
+++ b/docs/topics/auth/default.txt
@@ -1179,6 +1179,11 @@ implementation details see :ref:`using-the-views`.
The ``current_app`` parameter is deprecated and will be removed in
Django 2.0. Callers should set ``request.current_app`` instead.
+ .. deprecated:: 1.11
+
+ The unused ``extra_context`` parameter is deprecated and will be
+ removed in Django 2.1.
+
.. function:: password_change(request, template_name='registration/password_change_form.html', post_change_redirect=None, password_change_form=PasswordChangeForm, current_app=None, extra_context=None)
.. deprecated:: 1.11