> The big difference is, -as I see it- I will not get real polymorphism,
> as the base class would need to do the join on all it's child classes.
> Is that true?

with abstract models you won't get polymorphism at all, in the
database level (this is, you WON'T be able to do Fruit.objects....).
You'll mostly just be sharing structure and behavior, saving yourself
some repetition.

With multi table inheritane (MTI) you get three tables, one for Fruits
one for Oranges and one for Apples, Fruits have a row for every Orange
and every Apple, so you can do Fruit.objects.all(). Knowing whether
this is an orange or an apple is trickier, but not too much

-- 
"The whole of Japan is pure invention. There is no such country, there
are no such people" --Oscar Wilde

|_|0|_|
|_|_|0|
|0|0|0|

(\__/)
(='.'=)This is Bunny. Copy and paste bunny
(")_(") to help him gain world domination.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to