Skip to content
Browse files

Fixed #12538 -- Added a note that pickles aren't stable during versio…

…n updates. Thanks to snow0x2d0 for the suggestion.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 841210b commit d7927377703bb2b99702907c448e2195f4801687 @freakboy3742 freakboy3742 committed
Showing with 8 additions and 0 deletions.
  1. +8 −0 docs/ref/models/querysets.txt
8 docs/ref/models/querysets.txt
@@ -106,6 +106,14 @@ the query construction and is not part of the public API. However, it is safe
(and fully supported) to pickle and unpickle the attribute's contents as
described here.
+.. admonition:: You can't share pickles between versions
+ Pickles of QuerySets are only valid for the version of Django that
+ was used to generate them. If you generate a pickle using Django
+ version N, there is no guarantee that pickle will be readable with
+ Django version N+1. Pickles should not be used as part of a long-term
+ archival strategy.
.. _pickle:
.. _queryset-api:

0 comments on commit d792737

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