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

--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/5347E419.3050503%40tbz-pariv.de.
For more options, visit https://groups.google.com/d/optout.

Reply via email to