#29129: Child model updates parent model with empty fields making an extra
query in
multi-inheritance when parent model has custom PK
-------------------------------------+-------------------------------------
Reporter: user0007 | Owner: nobody
Type: Bug | Status: new
Component: Database layer | Version: 2.0
(models, ORM) |
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Simon Charette):
Carlton, I agree that it's its own issue and that it's highly related to
#18305.
I'd say the fact that `save(force_insert=True)` doesn't work **is** a
duplicate of #18305 and the fact `save()` doesn't result in the same
optimization as #29260 when a primary key default is defined in MTI is an
omission of #29260.
--
Ticket URL: <https://code.djangoproject.com/ticket/29129#comment:5>
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/066.4971382fde46e5d7a040354d7aa8af1c%40djangoproject.com.