#36120: Calling .update() on the virtual "pk" field for composite primary keys
raises AttributeError
-------------------------------------+-------------------------------------
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:"791ed4fd97a1a58401cd911dd69a32808fb86f79" 791ed4fd]:
{{{#!CommitTicketReference repository=""
revision="791ed4fd97a1a58401cd911dd69a32808fb86f79"
[5.2.x] Fixed #36120 -- Raised FieldError when targeting a composite
primary key field with QuerySet.update().
Backport of 72ff18d41cfb004ae180bdf87fd8bad93041c691 from main.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/36120#comment:8>
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/01070194ac6e2137-9d1cc524-1e74-4c3e-bf9e-336142e76b62-000000%40eu-central-1.amazonses.com.