[1.5.x] Fixed #21102 -- Cannot pickle/unpickle a QuerySet that prefetches related objects more than once (Pickling Idempotency) #1627

Closed
wants to merge 2 commits into
from

Conversation

Projects
None yet
2 participants

mjipeo commented Sep 13, 2013

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.

It was introduced by the patch bac187c.

mjipeo added some commits Sep 13, 2013

[1.5.x] Fixed #21102 -- Cannot pickle/unpickle a QuerySet that prefet…
…ches related objects more than once (Pickling Idempotency).

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.

It was introduced by the patch bac187c.
Member

akaariai commented Sep 14, 2013

Merged manually.

@akaariai akaariai closed this Sep 14, 2013

mjipeo commented Sep 14, 2013

Thanks! Just curious, but you guys do not usually receive a pull request for non-master branches?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment