Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[1.1.X] Fixed #12538 -- Added a note that pickles aren't stable durin…

…g version updates. Thanks to snow0x2d0 for the suggestion.

Backport of r12560 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12565 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit f7b415869c20ae39180e7b783fabae911a0a0893 1 parent d33fd12
Russell Keith-Magee authored

Showing 1 changed file with 8 additions and 0 deletions. Show diff stats Hide diff stats

  1. 8  docs/ref/models/querysets.txt
8  docs/ref/models/querysets.txt
@@ -102,6 +102,14 @@ the query construction and is not part of the public API. However, it is safe
102 102
 (and fully supported) to pickle and unpickle the attribute's contents as
103 103
 described here.
104 104
 
  105
+.. admonition:: You can't share pickles between versions
  106
+
  107
+	Pickles of QuerySets are only valid for the version of Django that
  108
+	was used to generate them. If you generate a pickle using Django
  109
+	version N, there is no guarantee that pickle will be readable with
  110
+	Django version N+1. Pickles should not be used as part of a long-term
  111
+	archival strategy.
  112
+
105 113
 .. _pickle: http://docs.python.org/library/pickle.html
106 114
 
107 115
 .. _queryset-api:

0 notes on commit f7b4158

Please sign in to comment.
Something went wrong with that request. Please try again.