#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:"015fab76ad7f91562d2323657a6b5d7b4ff15e28" 015fab76]:
{{{
#!CommitTicketReference repository=""
revision="015fab76ad7f91562d2323657a6b5d7b4ff15e28"
[2.1.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:14>
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.8d257344b2d907e762dd10a3324f233e%40djangoproject.com.