#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:  master
  (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                    |
-------------------------------------+-------------------------------------

Comment (by loic84):

 I'm not sure it covers all bases but I use:

 {{{
 child = Restaurant(place_ptr=place)
 child.save_base(raw=True)
 }}}

 It would be great to have an obvious and officially blessed way of doing
 this though.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/7623#comment:22>
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to