Fixed #19816: pre-evaluate queryset on m2m set #769

Merged
merged 1 commit into from Feb 23, 2013

Conversation

Projects
None yet
2 participants
Contributor

oinopion commented Feb 23, 2013

In ReverseManyRelatedObjectsDescriptor.set, evaluate possible
queryset to avoid problems when clear() would touch data this queryset
returns.

Fixed #19816: pre-evaluate queryset on m2m set
In ReverseManyRelatedObjectsDescriptor.__set__, evaluate possible
queryset to avoid problems when clear() would touch data this queryset
returns.

HonzaKral added a commit that referenced this pull request Feb 23, 2013

Merge pull request #769 from oinopion/ticket19816
Fixed #19816 -- pre-evaluate queryset on m2m set

@HonzaKral HonzaKral merged commit 6cb6e11 into django:master Feb 23, 2013

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