(no title)
djstein | 2 years ago
The new asynchronous functions are now provided, using an a prefix: django.contrib.auth.aauthenticate(), aget_user(), alogin(), alogout(), and aupdate_session_auth_hash().
AuthenticationMiddleware now adds an HttpRequest.auser() asynchronous method that returns the currently logged-in user.
[Edit: paste wasn’t the full sentence]
No comments yet.