Skip to content

Glossary: Django Basics

ForeignKey

Also written: foreign key, foreign keys

A model field that links each row to one row of another model, such as each product to a category. It stores the other row's id.

Where the book teaches it

Related terms

on_deleterelated_namerelationship