summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorBen Lomax <lomax.on.the.run@gmail.com>2023-05-19 21:14:32 +0800
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2023-05-23 10:04:41 +0200
commit23abec9192c88f9372e5784ae69c9aa5be2b21be (patch)
tree7dcee84ff72a113563fb1eb4bbf47948e0ed305c /docs
parente5c844d6f2a4ac6ae674d741b5f1fa2a688cedf4 (diff)
Refs #31949 -- Made @no_append_slash decorator to work with async functions.
Diffstat (limited to 'docs')
-rw-r--r--docs/releases/5.0.txt1
-rw-r--r--docs/topics/async.txt1
-rw-r--r--docs/topics/http/decorators.txt4
3 files changed, 6 insertions, 0 deletions
diff --git a/docs/releases/5.0.txt b/docs/releases/5.0.txt
index e6526dd798..6c16945f1f 100644
--- a/docs/releases/5.0.txt
+++ b/docs/releases/5.0.txt
@@ -237,6 +237,7 @@ Decorators
* :func:`~django.views.decorators.cache.cache_control`
* :func:`~django.views.decorators.cache.never_cache`
+ * :func:`~django.views.decorators.common.no_append_slash`
* ``xframe_options_deny()``
* ``xframe_options_sameorigin()``
* ``xframe_options_exempt()``
diff --git a/docs/topics/async.txt b/docs/topics/async.txt
index 444c88a1c6..73f4bf2a35 100644
--- a/docs/topics/async.txt
+++ b/docs/topics/async.txt
@@ -83,6 +83,7 @@ view functions:
* :func:`~django.views.decorators.cache.cache_control`
* :func:`~django.views.decorators.cache.never_cache`
+* :func:`~django.views.decorators.common.no_append_slash`
* ``xframe_options_deny()``
* ``xframe_options_sameorigin()``
* ``xframe_options_exempt()``
diff --git a/docs/topics/http/decorators.txt b/docs/topics/http/decorators.txt
index 4bcae64e27..49219f3d5a 100644
--- a/docs/topics/http/decorators.txt
+++ b/docs/topics/http/decorators.txt
@@ -147,3 +147,7 @@ customization of :class:`~django.middleware.common.CommonMiddleware` behavior.
This decorator allows individual views to be excluded from
:setting:`APPEND_SLASH` URL normalization.
+
+ .. versionchanged:: 5.0
+
+ Support for wrapping asynchronous view functions was added.