diff options
| author | Ben Lomax <lomax.on.the.run@gmail.com> | 2023-07-08 22:51:19 +0100 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2023-09-13 11:41:01 +0200 |
| commit | 74f7deec9e334a69bfbfdd068285618534198bd5 (patch) | |
| tree | 44cceda16c83c0eac7512df83ec8bfa4ef05dfee /docs/topics/http | |
| parent | 059cb0dbc9adc9c330f5fa36ba61acf00a6f259b (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.txt | 4 |
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 |
