True Model Inheritance

11 views
Skip to first unread message

Thomas Güttler

unread,
Apr 11, 2014, 8:46:17 AM4/11/14
to django...@googlegroups.com
I know that there are several model inheritance extensions available:

https://www.djangopackages.com/grids/g/model-inheritance/

But it is hard for me to decide which one to take.

The most common solutions seem to be:

django-model-utils
django-polymorphic

My use case is simple:

This query should return instances of child classes:

for obj in BaseClass.objects.filter(...)
...

Which solution do you use, and why?

Thomas
Reply all
Reply to author
Forward
0 new messages