Core: learn it Step 7 of 16 on the Backend Developer (Django) roadmap

Model relationships

ForeignKey, ManyToManyField and OneToOneField link models together, mirroring the joins you met in SQL. Use related_name to keep reverse lookups readable.

Resources

More in Models and the ORM

See it on the Backend Developer (Django) roadmap