#7623: Multi-table inheritance does not allow linking new instance of child 
model
to existing parent model instance.
-------------------------------------+-------------------------------------
     Reporter:  brooks.travis@…      |                    Owner:
         Type:  Bug                  |  elektrrrus
    Component:  Database layer       |                   Status:  assigned
  (models, ORM)                      |                  Version:  master
     Severity:  Normal               |               Resolution:
     Keywords:  model-inheritance,   |             Triage Stage:  Accepted
  multi-table-inheritance            |      Needs documentation:  1
    Has patch:  1                    |  Patch needs improvement:  1
  Needs tests:  1                    |                    UI/UX:  0
Easy pickings:  0                    |
-------------------------------------+-------------------------------------

Comment (by juan64645@…):

 Hello! I am new in django. I have a problem like this.
 I want to do something like this(in inheritance multi-table):

 in view.py

 restaurant = Restaurant(place_ptr=place)
 restaurant.save()

 assuming that the attributes of restaurant hold null=True.
 but Restaurant(place_ptr=place) returns nothing.

 My vercion of django is 1.5
 They say about this? Is there any alternative?
 That is not to create a new restaurant and it was clear the place, because
 it is very ugly.

 From already thank you very much!

-- 
Ticket URL: <https://code.djangoproject.com/ticket/7623#comment:30>
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/081.acd7a2d9c5be7d3c7629f066406513bb%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to