diff options
| author | Ben Lomax <lomax.on.the.run@gmail.com> | 2023-04-26 07:08:33 +0100 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2023-05-20 15:52:00 +0200 |
| commit | 00f5d2d110712af84fae2c5f9183a2ea48ce0a4a (patch) | |
| tree | fcfce5199b8e76bbc9b24d4d2db05f677de6da9e /docs/ref | |
| parent | b43936f2ec37f47277899a91a5464091bd80ad3a (diff) | |
Refs #31949 -- Made @xframe_options_(deny/sameorigin/exempt) decorators to work with async functions.
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/clickjacking.txt | 10 |
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 =========== |
