1
0
mirror of https://github.com/django/django.git synced 2025-04-22 08:14:37 +00:00
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
bac187c0d8e829fb3ca2ca82965eabbcbcb6ddd5.
2013-09-14 10:03:03 +03:00
..
2013-09-11 07:04:04 -04:00