summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2021-12-16 20:13:17 +0100
committerGitHub <noreply@github.com>2021-12-16 20:13:17 +0100
commit40165eecc40f9e223702a41a0cb0958515bb1f82 (patch)
tree458f84b4290c76141dc496a1eef395c9dbca71fe /docs
parent068b2c072b0d28cbd5ea63811779629cdaad8638 (diff)
Fixed #33350 -- Reallowed using cache decorators with duck-typed HttpRequest.
Regression in 3fd82a62415e748002435e7bad06b5017507777c. Thanks Terence Honles for the report.
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`).