mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
Refs #31949 -- Made @never_cache and @cache_control() decorators to work with async functions.
Thanks Carlton Gibson and Mariusz Felisiak for reviews.
This commit is contained in:
committed by
Mariusz Felisiak
parent
a14ddc8cfc
commit
4dfc6ff8a8
@@ -214,7 +214,9 @@ CSRF
|
||||
Decorators
|
||||
~~~~~~~~~~
|
||||
|
||||
* ...
|
||||
* The :func:`~django.views.decorators.cache.cache_control` and
|
||||
:func:`~django.views.decorators.cache.never_cache` decorators now support
|
||||
wrapping asynchronous view functions.
|
||||
|
||||
Email
|
||||
~~~~~
|
||||
|
||||
Reference in New Issue
Block a user