I have a model Category and it has children and also the Product model looks like this
Category
Product
class Category(models.Model): name = mode