django/tests/regressiontests/queryset_pickle
Minjong Chung e66fe357b2 Fixed #21102 -- pickling a QuerySet with prefetches twice
Fixed the bug that a QuerySet that prefetches related objects cannot be
pickled and unpickled more than once (The second pickling attempt
raises an exception).

Added a new test for the queryset pickling idempotency.

The bug was introduced by
bac187c0d8.
2013-09-14 10:03:03 +03:00
..
__init__.py Fixed #12769, #12924 -- Corrected the pickling of curried and lazy objects, which was preventing queries with translated or related fields from being pickled. And lo, Alex Gaynor didst slayeth the dragon. 2010-03-27 15:54:31 +00:00
models.py [1.5.x] Fixed prefetch_related + pickle regressions 2013-05-21 11:45:24 +03:00
tests.py Fixed #21102 -- pickling a QuerySet with prefetches twice 2013-09-14 10:03:03 +03:00