django1/django/contrib
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
..
admin Fixed #22329 -- Used label_tag() in some admin auth templates. 2014-03-29 08:54:56 -04:00
admindocs Fixed #22306 -- Deprecated future versions of cycle and firstof template tags. 2014-03-28 18:55:06 -04:00
auth Fixed #22329 -- Used label_tag() in some admin auth templates. 2014-03-29 08:54:56 -04:00
contenttypes Fixed #19816 -- Pre-evaluate querysets used in direct relation assignments. 2014-03-30 15:36:45 +07:00
flatpages Fixed #22070 -- Changed verbose_name for apps in django.contrib to use title case 2014-03-06 18:43:04 -05:00
formtools Fixed #22299 -- Cleanup wizard temp files when possible. 2014-03-22 17:48:12 -04:00
gis Skipped PostGIS version tests when psycopg2 not installed 2014-03-29 19:25:57 +01:00
humanize Fixed #22070 -- Changed verbose_name for apps in django.contrib to use title case 2014-03-06 18:43:04 -05:00
messages Fixed #22070 -- Changed verbose_name for apps in django.contrib to use title case 2014-03-06 18:43:04 -05:00
redirects Fixed #22070 -- Changed verbose_name for apps in django.contrib to use title case 2014-03-06 18:43:04 -05:00
sessions Fixed #22070 -- Changed verbose_name for apps in django.contrib to use title case 2014-03-06 18:43:04 -05:00
sitemaps Fixed typo in error message in django.contrib.sitemaps. 2014-03-24 13:06:06 -04:00
sites Fixed #21188 -- Introduced subclasses for to-be-removed-in-django-XX warnings 2014-03-08 09:57:40 +01:00
staticfiles Fixed #22315 -- str/bytes mismatch in staticfiles 2014-03-25 09:53:24 -04:00
syndication Fixed #22070 -- Changed verbose_name for apps in django.contrib to use title case 2014-03-06 18:43:04 -05:00
webdesign Fixed #22070 -- Changed verbose_name for apps in django.contrib to use title case 2014-03-06 18:43:04 -05:00
__init__.py