summaryrefslogtreecommitdiff
path: root/docs/topics
diff options
context:
space:
mode:
authorBen Lomax <lomax.on.the.run@gmail.com>2023-04-26 07:08:33 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2023-05-20 15:52:00 +0200
commit00f5d2d110712af84fae2c5f9183a2ea48ce0a4a (patch)
treefcfce5199b8e76bbc9b24d4d2db05f677de6da9e /docs/topics
parentb43936f2ec37f47277899a91a5464091bd80ad3a (diff)
Refs #31949 -- Made @xframe_options_(deny/sameorigin/exempt) decorators to work with async functions.
Diffstat (limited to 'docs/topics')
-rw-r--r--docs/topics/async.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/topics/async.txt b/docs/topics/async.txt
index 769fac3c52..444c88a1c6 100644
--- a/docs/topics/async.txt
+++ b/docs/topics/async.txt
@@ -83,6 +83,9 @@ 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()``
For example::