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. --- django/contrib/auth/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'django') diff --git a/django/contrib/auth/__init__.py b/django/contrib/auth/__init__.py index e07b32c1db..d752e3172b 100644 --- a/django/contrib/auth/__init__.py +++ b/django/contrib/auth/__init__.py @@ -205,7 +205,7 @@ async def alogin(request, user, backend=None): # RemovedInDjango61Warning. if user is None: warnings.warn( - "Fallback to request.user when user is None will be removed.", + "Fallback to request.auser() when user is None will be removed.", RemovedInDjango61Warning, stacklevel=2, ) -- cgit v1.3