The Many-to-Many Relationship
In this lesson, we will learn how to add a many-to-many relationship between models.
We'll cover the following
Introduction #
In the last lessons, we created both a one-to-many and a one-to-one relationship between the Employee
and Department
models. The code so far is given below.
Get hands-on with 1400+ tech skills courses.