Author: russellm Date: 2010-02-24 08:06:51 -0600 (Wed, 24 Feb 2010) New Revision: 12565
Modified: django/branches/releases/1.1.X/docs/ref/models/querysets.txt Log: [1.1.X] Fixed #12538 -- Added a note that pickles aren't stable during version updates. Thanks to snow0x2d0 for the suggestion. Backport of r12560 from trunk. Modified: django/branches/releases/1.1.X/docs/ref/models/querysets.txt =================================================================== --- django/branches/releases/1.1.X/docs/ref/models/querysets.txt 2010-02-24 14:05:58 UTC (rev 12564) +++ django/branches/releases/1.1.X/docs/ref/models/querysets.txt 2010-02-24 14:06:51 UTC (rev 12565) @@ -102,6 +102,14 @@ (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: http://docs.python.org/library/pickle.html .. _queryset-api: -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.
