#30953: Model Inheritance and select_for_update with 'of'
-------------------------------------+-------------------------------------
Reporter: Abhijeet | Owner: felixxm
Type: Bug | Status: closed
Component: Database layer | Version: 2.1
(models, ORM) |
Severity: Release blocker | Resolution: fixed
Keywords: select_for_update | Triage Stage: Accepted
mti model inheritance |
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Mariusz Felisiak <felisiak.mariusz@…>):
In [changeset:"6cf3b6f5cf0cc3b11e86e511ec5201999913286f" 6cf3b6f5]:
{{{
#!CommitTicketReference repository=""
revision="6cf3b6f5cf0cc3b11e86e511ec5201999913286f"
[2.2.x] Fixed #30953 -- Made select_for_update() lock queryset's model
when using "self" with multi-table inheritance.
Thanks Abhijeet Viswa for the report and initial patch.
Backport of 0107e3d1058f653f66032f7fd3a0bd61e96bf782 from master
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/30953#comment:10>
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 on the web visit
https://groups.google.com/d/msgid/django-updates/071.2c74e70c5aed73ab21edd51b27e57439%40djangoproject.com.