1
0
mirror of https://github.com/django/django.git synced 2025-11-07 07:15:35 +00:00

Fixed #31920 -- Made AuthenticationMiddleware add request.auser().

This commit is contained in:
Jon Janzen
2023-02-13 18:24:35 -05:00
committed by Mariusz Felisiak
parent e83a88566a
commit e846c5e724
5 changed files with 50 additions and 0 deletions

View File

@@ -65,6 +65,9 @@ Minor features
* The default iteration count for the PBKDF2 password hasher is increased from
600,000 to 720,000.
* ``AuthenticationMiddleware`` now adds an :meth:`.HttpRequest.auser`
asynchronous method that returns the currently logged-in user.
:mod:`django.contrib.contenttypes`
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~