#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
-------------------------------------+-------------------------------------
Changes (by Sarah Boyce <42296566+sarahboyce@…>):
* resolution: => fixed
* status: assigned => closed
Comment:
In [changeset:"72ff18d41cfb004ae180bdf87fd8bad93041c691" 72ff18d4]:
{{{#!CommitTicketReference repository=""
revision="72ff18d41cfb004ae180bdf87fd8bad93041c691"
Fixed #36120 -- Raised FieldError when targeting a composite primary key
field with QuerySet.update().
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/36120#comment:7>
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/01070194ac6cb93c-e51ab42c-7c16-4c41-9307-ea824c135223-000000%40eu-central-1.amazonses.com.