summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMarkus Bertheau <mbertheau@gmail.com>2015-04-27 23:56:02 +0200
committerTim Graham <timograham@gmail.com>2015-12-24 11:25:50 -0500
commitb51086d57313e7ea857f4b96b62d25e600ee0a8d (patch)
treee23747c23aa0cf6b0db6da31f1d723e8fb3ce655 /docs
parent91d46d2fb872a572dcd8e645b2d60be4d4c7ca24 (diff)
[1.8.x] Fixed #13008 -- Added more Cache-Control headers to never_cache() decorator.
Backport of 4a438e400b7ce0ab9d0b6876196cbe8d620a4171 from master
Diffstat (limited to 'docs')
-rw-r--r--docs/releases/1.8.8.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/releases/1.8.8.txt b/docs/releases/1.8.8.txt
index e35ed250f5..f3c4e8bba1 100644
--- a/docs/releases/1.8.8.txt
+++ b/docs/releases/1.8.8.txt
@@ -40,3 +40,11 @@ Bugfixes
* Fixed a regression which prevented using a language not in Django's default
language list (:setting:`LANGUAGES`) (:ticket:`25915`).
+
+* ``django.views.decorators.cache.never_cache()`` now sends more persuasive
+ headers (added ``no-cache, no-store, must-revalidate`` to ``Cache-Control``)
+ to better prevent caching (:ticket:`13008`). This fixes a problem where a
+ page refresh in Firefox cleared the selected entries in the admin's
+ ``filter_horizontal`` and ``filter_vertical`` widgets, which could result
+ in inadvertent data loss if a user didn't notice that and then submitted the
+ form (:ticket:`22955`).