#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:"f4ed6800bd5de576816861931699ddd8377d338d" f4ed6800]:
{{{
#!CommitTicketReference repository=""
revision="f4ed6800bd5de576816861931699ddd8377d338d"
[3.0.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: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 on the web visit
https://groups.google.com/d/msgid/django-updates/071.df1f4e3ed51310d1f3e98f96414631bb%40djangoproject.com.