I am new to Django and I getting some difficulties in implementing this model in Django:

Until now I have the model working without the table “Positions”, and looks like this:
from django.db import models
import datetime
class Category(models.Model):
n_category = models.CharField(max_length=100)
class Directory(models.Model):
website_name = models.CharField(max_length=200)
website_url = models.URLField()
categories = models.ManyToManyField(Category)
My question is, How can I add the table “Positions” to this model?
Please give me a clue.
Best Regards.
Create a the model
Positionwhich has ForeignKeys toCategoriesandDirectoryand all the other data needed. And then use thethroughargument for the ManyToManyField. This is described in the Django documentationExample (which if haven’t tested):