django1/django/db
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
..
backends Fixed #33408 -- Fixed adding nullable unique fields on SQLite. 2022-01-04 05:50:00 +01:00
migrations Fixed #33402 -- Optimized multiple AlterFooTogether operations. 2022-01-04 06:24:03 +01:00
models Fixed #32511 -- Corrected handling prefetched nested reverse relationships. 2022-01-05 09:49:05 +01:00
__init__.py Fixed #32233 -- Cleaned-up duplicate connection functionality. 2020-12-08 08:55:44 +01:00
transaction.py Fixed #33161 -- Enabled durability check for nested atomic blocks in TestCase. 2021-11-12 13:05:56 +01:00
utils.py Fixed #30398 -- Added CONN_HEALTH_CHECKS database setting. 2021-12-01 07:44:48 +01:00