django1/django/db/models/fields
Jamie Matthews f5233dce30 Fixed #32511 -- Corrected handling prefetched nested reverse relationships.
When prefetching a set of child objects related to a set of parent
objects, we usually want to populate the relationship back from the
child to the parent to avoid a query when accessing that relationship
attribute. However, there's an edge case where the child queryset
itself specifies a prefetch back to the parent. In that case, we want
to use the prefetched relationship rather than populating the reverse
relationship from the parent.
2022-01-05 09:49:05 +01:00
..
__init__.py Fixed #33406 -- Avoided creation of MaxLengthValidator(None) when resolving Value.output_field for strings. 2022-01-04 05:51:00 +01:00
files.py Fixed #32718 -- Relaxed file name validation in FileField. 2021-05-13 08:53:44 +02:00
json.py Fixed #32483 -- Fixed QuerySet.values()/values_list() on JSONField key transforms with booleans on SQLite. 2021-03-23 08:28:47 +01:00
mixins.py Refs #12990 -- Moved CheckFieldDefaultMixin to the django.db.models.fields.mixins. 2019-10-17 12:30:29 +02:00
proxy.py Removed unused OrderWrt.deconstruct(). 2017-07-06 18:45:53 -04:00
related.py Corrected return value of ForeignKey.db_check(). 2021-12-10 09:22:09 +01:00
related_descriptors.py Fixed #32511 -- Corrected handling prefetched nested reverse relationships. 2022-01-05 09:49:05 +01:00
related_lookups.py Refs #32690 -- Altered lookups Query rhs alterations during initialization. 2021-12-02 07:00:52 +01:00
reverse_related.py Fixed #32996 -- Cached PathInfos on relations. 2021-11-03 11:27:04 +01:00