summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2021-12-16 20:13:17 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2021-12-16 20:14:17 +0100
commitc1d2e8b9b8f41d3effef03badc78c8b8995a99b6 (patch)
tree7e51116b27998d63218153f3e0ea36586964d27b /docs
parent267a743bf253a4e0703c0257a5df7774116c3194 (diff)
[4.0.x] Fixed #33350 -- Reallowed using cache decorators with duck-typed HttpRequest.
Regression in 3fd82a62415e748002435e7bad06b5017507777c. Thanks Terence Honles for the report. Backport of 40165eecc40f9e223702a41a0cb0958515bb1f82 from main
Diffstat (limited to 'docs')
-rw-r--r--docs/releases/4.0.1.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/releases/4.0.1.txt b/docs/releases/4.0.1.txt
index 08e5b206bb..50c84bfe17 100644
--- a/docs/releases/4.0.1.txt
+++ b/docs/releases/4.0.1.txt
@@ -15,3 +15,7 @@ Bugfixes
* Fixed a bug in Django 4.0 that caused a crash on booleans with the
``RedisCache`` backend (:ticket:`33361`).
+
+* Relaxed the check added in Django 4.0 to reallow use of a duck-typed
+ ``HttpRequest`` in ``django.views.decorators.cache.cache_control()`` and
+ ``never_cache()`` decorators (:ticket:`33350`).