[Answered ]-Using two models on the same Admin page

2👍

I think abstract models is what you are looking for.

For example:

class AbstractProductBase(models.Model):
    title = models.CharField(max_length=50)

    class Meta:
        abstract = True


class Serie(AbstractProductBase):
     # some specific fields


class Movie(AbstractProductBase):
    # some specific fields

Source: https://docs.djangoproject.com/en/1.9/topics/db/models/#abstract-base-classes

Leave a comment