summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/internals/deprecation.txt4
-rw-r--r--docs/releases/5.2.txt4
2 files changed, 8 insertions, 0 deletions
diff --git a/docs/internals/deprecation.txt b/docs/internals/deprecation.txt
index 85ad0d400f..171d9ecbe3 100644
--- a/docs/internals/deprecation.txt
+++ b/docs/internals/deprecation.txt
@@ -18,6 +18,10 @@ details on these changes.
* The ``all`` keyword argument of ``django.contrib.staticfiles.finders.find()``
will be removed.
+* The fallback to ``request.user`` when ``user`` is ``None`` in
+ ``django.contrib.auth.login()`` and ``django.contrib.auth.alogin()`` will be
+ removed.
+
.. _deprecation-removed-in-6.0:
6.0
diff --git a/docs/releases/5.2.txt b/docs/releases/5.2.txt
index 2ec90429d0..7af0b955f6 100644
--- a/docs/releases/5.2.txt
+++ b/docs/releases/5.2.txt
@@ -443,3 +443,7 @@ Miscellaneous
* The ``all`` argument for the ``django.contrib.staticfiles.finders.find()``
function is deprecated in favor of the ``find_all`` argument.
+
+* The fallback to ``request.user`` when ``user`` is ``None`` in
+ ``django.contrib.auth.login()`` and ``django.contrib.auth.alogin()`` will be
+ removed.