[Django]-Django ManyToMany field is not created in model

8👍

Because a ManyToMany isn’t a field, at least not one that exists as a database column. It’s a relationship with a linking table. You’ll find that a table named myapp_teacher_subjects has been created, with foreign keys to both teacher and subjects.

Leave a comment