[Answer]-Creating a multi-model in Django

1👍

The InheritanceManager from django-model-utils is what you are looking for.

You can iterate over all your Nodes with:

nodes = Node.objects.filter(foo="bar").select_subclasses()
    for node in nodes:
        #logic
👤Jay

Leave a comment