From b3166e1e15824aedb7a609dfda18ef36ea023d06 Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Tue, 19 Aug 2025 20:57:32 +0200 Subject: Refs #35530 -- Corrected deprecation message in auth.alogin(). Follow up to ceecd518b19044181a3598c55ebed7c2545963cc. --- docs/internals/deprecation.txt | 6 +++--- docs/releases/5.2.txt | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'docs') diff --git a/docs/internals/deprecation.txt b/docs/internals/deprecation.txt index 81a9d72860..0e2a7ffb36 100644 --- a/docs/internals/deprecation.txt +++ b/docs/internals/deprecation.txt @@ -64,9 +64,9 @@ 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. +* Fallbacks to ``request.user`` and ``request.auser()`` when ``user`` is + ``None`` in ``django.contrib.auth.login()`` and + ``django.contrib.auth.alogin()``, respectively, will be removed. * The ``ordering`` keyword argument of the PostgreSQL specific aggregation functions ``django.contrib.postgres.aggregates.ArrayAgg``, diff --git a/docs/releases/5.2.txt b/docs/releases/5.2.txt index feaeb9436a..20d82db98e 100644 --- a/docs/releases/5.2.txt +++ b/docs/releases/5.2.txt @@ -479,9 +479,9 @@ 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. +* Fallbacks to ``request.user`` and ``request.auser()`` when ``user`` is + ``None`` in ``django.contrib.auth.login()`` and + ``django.contrib.auth.alogin()``, respectively, are deprecated. * The ``ordering`` keyword argument of the PostgreSQL specific aggregation functions ``django.contrib.postgres.aggregates.ArrayAgg``, -- cgit v1.3