diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2025-08-19 20:57:32 +0200 |
|---|---|---|
| committer | Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> | 2025-08-22 16:14:09 +0200 |
| commit | b3166e1e15824aedb7a609dfda18ef36ea023d06 (patch) | |
| tree | 5509720aaee74c6a845f3ef3c5615246938539d6 /django/contrib | |
| parent | 0b2493a0da14ea91027fec7c95cb63af126e3296 (diff) | |
Refs #35530 -- Corrected deprecation message in auth.alogin().
Follow up to ceecd518b19044181a3598c55ebed7c2545963cc.
Diffstat (limited to 'django/contrib')
| -rw-r--r-- | django/contrib/auth/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
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, ) |
