diff options
author | Jamie Matthews <jamie@dabapps.com> | 2022-01-04 11:10:49 +0000 |
---|---|---|
committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2022-01-05 09:49:05 +0100 |
commit | f5233dce309543c826224be9dfa9c9f4f855f73c (patch) | |
tree | 1c16a519509aa0829c884838815875efff3dcbe4 /AUTHORS | |
parent | 973fa566521037ac140dcece73fceae50ee522f1 (diff) | |
download | django-f5233dce309543c826224be9dfa9c9f4f855f73c.tar.gz |
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.
Diffstat (limited to 'AUTHORS')
-rw-r--r-- | AUTHORS | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -423,6 +423,7 @@ answer newbie questions, and generally made Django that much better: James Timmins <jameshtimmins@gmail.com> James Turk <dev@jamesturk.net> James Wheare <django@sparemint.com> + Jamie Matthews <jamie@mtth.org> Jannis Leidel <jannis@leidel.info> Janos Guljas Jan Pazdziora |