#36416: id_list argument to in_bulk() does not account for composite primary
keys
when batching
-------------------------------------+-------------------------------------
Reporter: Jacob Walls | Owner: Jacob
| Walls
Type: Bug | Status: closed
Component: Database layer | Version: 5.2
(models, ORM) |
Severity: Release blocker | Resolution: fixed
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Sarah Boyce <42296566+sarahboyce@…>):
In [changeset:"2bf4c5b9eaaf0a36cb0fb6c060625a5fb2fcf6c9" 2bf4c5b9]:
{{{#!CommitTicketReference repository=""
revision="2bf4c5b9eaaf0a36cb0fb6c060625a5fb2fcf6c9"
[5.2.x] Fixed #36416 -- Made QuerySet.in_bulk() account for composite pks
in id_list.
Backport of 26313bc21932d0d3af278ab387549d63b1f64575 from main.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/36416#comment:9>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/django-updates/01070197367a78fe-9b9864d4-051a-4462-ba3b-60549b39210a-000000%40eu-central-1.amazonses.com.