summaryrefslogtreecommitdiff
path: root/docs/topics/http
diff options
context:
space:
mode:
authorBen Lomax <lomax.on.the.run@gmail.com>2023-07-08 22:51:19 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2023-09-13 11:41:01 +0200
commit74f7deec9e334a69bfbfdd068285618534198bd5 (patch)
tree44cceda16c83c0eac7512df83ec8bfa4ef05dfee /docs/topics/http
parent059cb0dbc9adc9c330f5fa36ba61acf00a6f259b (diff)
Refs #31949 -- Made make_middleware_decorator to work with async functions.
Diffstat (limited to 'docs/topics/http')
-rw-r--r--docs/topics/http/decorators.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/topics/http/decorators.txt b/docs/topics/http/decorators.txt
index 38e528ecf5..fa84e8d9b7 100644
--- a/docs/topics/http/decorators.txt
+++ b/docs/topics/http/decorators.txt
@@ -105,6 +105,10 @@ compression on a per-view basis.
It sets the ``Vary`` header accordingly, so that caches will base their
storage on the ``Accept-Encoding`` header.
+ .. versionchanged:: 5.0
+
+ Support for wrapping asynchronous view functions was added.
+
.. module:: django.views.decorators.vary
Vary headers