Skip to content
Discussion options

You must be logged in to vote

A foreign key is a database field which references a value in some other table; it can only reference a single object. To represent relationships to multiple objects, Django provides ManyToManyField, which works by constructing an intermediate table mapping objects on either side of the relationship.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@ZuperSero
Comment options

Answer selected by ZuperSero
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants