#24542: Inheriting from multiple abstract model base classes with the same field
leads to invalid SQL and db-level exception
-------------------------------------+-------------------------------------
Reporter: Ghopper21 | Owner: nobody
Type: Bug | Status: closed
Component: Database layer | Version: 1.6
(models, ORM) |
Severity: Normal | Resolution: fixed
Keywords: multiple model | Triage Stage:
inheritance sql fielderror | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by timgraham):
* status: new => closed
* needs_docs: => 0
* resolution: => fixed
* needs_tests: => 0
* needs_better_patch: => 0
Comment:
It's been fixed in Django 1.7 with the following validation error:
polls.Kid.foobar: (models.E006) The field 'foobar' clashes with the field
'foobar' from model 'polls.kid'.
--
Ticket URL: <https://code.djangoproject.com/ticket/24542#comment:1>
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/067.6bd13d2216974498205b002c4b5f88bb%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.