django/django — pull request #769 by oinopion (2013-02-23 14:54:20+00:00)
Title: 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.