#7623: Multi-table inheritance does not allow linking new instance of child model to existing parent model instance. -------------------------------------+------------------------------------- Reporter: brooks.travis@… | Owner: nobody Type: Bug | Status: reopened Component: Database layer | Version: SVN (models, ORM) | Resolution: Severity: Normal | Triage Stage: Design Keywords: model-inheritance, | decision needed multi-table-inheritance | Needs documentation: 1 Has patch: 1 | Patch needs improvement: 1 Needs tests: 1 | UI/UX: 0 Easy pickings: 0 | -------------------------------------+------------------------------------- Changes (by Nan):
* status: closed => reopened * resolution: wontfix => Comment: Please see my example immediately above. This is not about foreign keys or multiple related objects linked to the same object. It's about multi- table inheritance where the child data isn't always known at the time the parent object is created. If you have a Place object that is not yet a Restaurant object, the ORM will not allow you to add the data to make it a Restaurant object. -- Ticket URL: <https://code.djangoproject.com/ticket/7623#comment:15> 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 post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.