django1/django/contrib/contenttypes
Loic Bistuer 20399083f4 Fixed #19816 -- Pre-evaluate querysets used in direct relation assignments.
Since assignments on M2M or reverse FK descriptors is composed of a `clear()`,
followed by an `add()`, `clear()` could potentially affect the value of the
assigned queryset before the `add()` step; pre-evaluating it solves the problem.

This patch fixes the issue for ForeignRelatedObjectsDescriptor,
ManyRelatedObjectsDescriptor, and ReverseGenericRelatedObjectsDescriptor.
It completes 6cb6e1 which addressed ReverseManyRelatedObjectsDescriptor.
2014-03-30 15:36:45 +07:00
..
locale Fixed #21388 -- Corrected language code for Frisian 2013-11-11 13:34:01 +01:00
__init__.py Fixed #21829 -- Added default AppConfigs. 2014-01-25 10:41:56 +01:00
admin.py Fixed #22034 -- Added a specific set of relation checks for GenericInlineModelAdmin. 2014-03-08 11:25:23 +08:00
apps.py Fixed #22070 -- Changed verbose_name for apps in django.contrib to use title case 2014-03-06 18:43:04 -05:00
checks.py Fixed #19774 -- Deprecated the contenttypes.generic module. 2014-01-26 14:42:30 -05:00
fields.py Fixed #19816 -- Pre-evaluate querysets used in direct relation assignments. 2014-03-30 15:36:45 +07:00
forms.py Fixed #19774 -- Deprecated the contenttypes.generic module. 2014-01-26 14:42:30 -05:00
generic.py Fixed #21188 -- Introduced subclasses for to-be-removed-in-django-XX warnings 2014-03-08 09:57:40 +01:00
management.py Fixed #21477 -- Renamed db to using in pre/post_migrate signals. 2014-01-12 22:24:33 +01:00
models.py Changed get_model to raise an exception on errors. 2013-12-28 20:53:00 +01:00
tests.py Moved RequestSite and get_current_site. 2014-01-26 08:50:47 +01:00
views.py Fixed #16727 -- Added protocol-relative URL support to contenttypes.views.shortcut. 2014-03-03 22:57:06 +01:00