diff options
author | Ben Lomax <lomax.on.the.run@gmail.com> | 2022-07-08 09:39:33 +0100 |
---|---|---|
committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2023-04-25 10:08:03 +0200 |
commit | 4dfc6ff8a81ed36dfc7c5b942ecab7217866b935 (patch) | |
tree | 0da6f1adf897c5db33438fd8c5b3c6c630659212 /docs/releases/5.0.txt | |
parent | a14ddc8cfccbc8da6c11e1208131abc3abd6ed5d (diff) | |
download | django-4dfc6ff8a81ed36dfc7c5b942ecab7217866b935.tar.gz |
Refs #31949 -- Made @never_cache and @cache_control() decorators to work with async functions.
Thanks Carlton Gibson and Mariusz Felisiak for reviews.
Diffstat (limited to 'docs/releases/5.0.txt')
-rw-r--r-- | docs/releases/5.0.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/releases/5.0.txt b/docs/releases/5.0.txt index 3a4355588b..48df713375 100644 --- a/docs/releases/5.0.txt +++ b/docs/releases/5.0.txt @@ -214,7 +214,9 @@ CSRF Decorators ~~~~~~~~~~ -* ... +* The :func:`~django.views.decorators.cache.cache_control` and + :func:`~django.views.decorators.cache.never_cache` decorators now support + wrapping asynchronous view functions. Email ~~~~~ |