summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/clickjacking.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/ref/clickjacking.txt b/docs/ref/clickjacking.txt
index f9bec591a7..3a81bdbdb0 100644
--- a/docs/ref/clickjacking.txt
+++ b/docs/ref/clickjacking.txt
@@ -90,6 +90,11 @@ that tells the middleware not to set the header::
iframe, you may need to modify the :setting:`CSRF_COOKIE_SAMESITE` or
:setting:`SESSION_COOKIE_SAMESITE` settings.
+.. versionchanged:: 5.0
+
+ Support for wrapping asynchronous view functions was added to the
+ ``@xframe_options_exempt`` decorator.
+
Setting ``X-Frame-Options`` per view
------------------------------------
@@ -113,6 +118,11 @@ decorators::
Note that you can use the decorators in conjunction with the middleware. Use of
a decorator overrides the middleware.
+.. versionchanged:: 5.0
+
+ Support for wrapping asynchronous view functions was added to the
+ ``@xframe_options_deny`` and ``@xframe_options_sameorigin`` decorators.
+
Limitations
===========