summaryrefslogtreecommitdiff
path: root/docs/howto
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2013-07-08 09:57:50 -0400
committerTim Graham <timograham@gmail.com>2013-07-08 09:59:02 -0400
commit67a6b5e53f62e90c7e8587d1f110aa3d7bb9afbf (patch)
tree84785263a556267a2d73ceca0f4f3d19aac0f57d /docs/howto
parentcf8d0933cb5bba3ce869f55cd423054d9c128956 (diff)
[1.6.x] Fixed #20493 -- Added a warning that objects may not be picklable across Django versions
Thanks cataliniacob for the suggestion and review. Backport of 1084575163 from master
Diffstat (limited to 'docs/howto')
-rw-r--r--docs/howto/upgrade-version.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/howto/upgrade-version.txt b/docs/howto/upgrade-version.txt
index 8777f433f9..fd018d4342 100644
--- a/docs/howto/upgrade-version.txt
+++ b/docs/howto/upgrade-version.txt
@@ -89,3 +89,11 @@ Deployment
When you are sufficiently confident your app works with the new version of
Django, you're ready to go ahead and :doc:`deploy </howto/deployment/index>`
your upgraded Django project.
+
+If you are using caching provided by Django, you should consider clearing your
+cache after upgrading. Otherwise you may run into problems, for example, if you
+are caching pickled objects as these objects are not guaranteed to be
+pickle-compatible across Django versions. A past instance of incompatibility
+was caching pickled :class:`~django.http.HttpResponse` objects, either
+directly or indirectly via the :func:`~django.views.decorators.cache.cache_page`
+decorator.