Re: Multi-table inheritance models not working for me

2014-10-08 Thread Collin Anderson
You want non-abstract inheirtance, and you can use parent_link to control the OneToOneField. https://docs.djangoproject.com/en/dev/ref/models/fields/#django.db.models.OneToOneField.parent_link -- You received this message because you are subscribed to the Google Groups "Django users" group. To

Multi-table inheritance models not working for me

2014-10-08 Thread Martin Torre Castro
Hello, I want to make a hierarchy over a DB design as described in "Fundamentals of database systems" from Elmasri & Navathe. This implies that when I have some info which is shared for many classes/tables, I can put it in a main parent table and use the main table id as foreign key in the ch