mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #35030 -- Made django.contrib.auth decorators to work with async functions.
This commit is contained in:
committed by
Mariusz Felisiak
parent
1fffa4af12
commit
549320946d
@@ -52,6 +52,11 @@ Minor features
|
||||
form save. This is now available in the admin when visiting the user creation
|
||||
and password change pages.
|
||||
|
||||
* :func:`~.django.contrib.auth.decorators.login_required`,
|
||||
:func:`~.django.contrib.auth.decorators.permission_required`, and
|
||||
:func:`~.django.contrib.auth.decorators.user_passes_test` decorators now
|
||||
support wrapping asynchronous view functions.
|
||||
|
||||
:mod:`django.contrib.contenttypes`
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
||||
Reference in New Issue
Block a user