mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
Refs #31949 -- Made @xframe_options_(deny/sameorigin/exempt) decorators to work with async functions.
This commit is contained in:
committed by
Mariusz Felisiak
parent
b43936f2ec
commit
00f5d2d110
@@ -233,9 +233,13 @@ 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.
|
||||
* The following decorators now support wrapping asynchronous view functions:
|
||||
|
||||
* :func:`~django.views.decorators.cache.cache_control`
|
||||
* :func:`~django.views.decorators.cache.never_cache`
|
||||
* ``xframe_options_deny()``
|
||||
* ``xframe_options_sameorigin()``
|
||||
* ``xframe_options_exempt()``
|
||||
|
||||
Email
|
||||
~~~~~
|
||||
|
||||
Reference in New Issue
Block a user