diff options
Diffstat (limited to 'docs/topics/http')
| -rw-r--r-- | docs/topics/http/decorators.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/topics/http/decorators.txt b/docs/topics/http/decorators.txt index 973eda72fe..38e528ecf5 100644 --- a/docs/topics/http/decorators.txt +++ b/docs/topics/http/decorators.txt @@ -115,6 +115,10 @@ caching based on specific request headers. .. function:: vary_on_cookie(func) + .. versionchanged:: 5.0 + + Support for wrapping asynchronous view functions was added. + .. function:: vary_on_headers(*headers) The ``Vary`` header defines which request headers a cache mechanism should take @@ -122,6 +126,10 @@ caching based on specific request headers. See :ref:`using vary headers <using-vary-headers>`. + .. versionchanged:: 5.0 + + Support for wrapping asynchronous view functions was added. + .. module:: django.views.decorators.cache Caching |
