#14096: Insert code generated by models using multiple inheritance is incorrect
and
fails in postgresql
-------------------------------------+-------------------------------------
Reporter: pembo13 | Owner: nobody
Type: Bug | Status: closed
Component: Database layer | Version: 1.2
(models, ORM) |
Severity: Normal | Resolution: invalid
Keywords: orm | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 1 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by timgraham):
* status: new => closed
* resolution: => invalid
Comment:
Closing as invalid given the provided models don't validate:
{{{
data.Company: (models.E005) The field 'id' from parent model
'data.account' clashes with the field 'id' from parent model
'data.contact'.
data.Employee.company: (models.E006) The field 'company' clashes with the
field 'company' from model 'data.contact'.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/14096#comment:12>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/065.d354cbf04915ff1fc9feb41740eb7054%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.