Understanding Django Relationships: OneToOneField vs ForeignKey vs ManyToManyField
A few hours ago, I was asked by a senior Django developer what the difference of OneToOneField, ForeignKey and ManyToManyField. I believe I gave a pretty good explanation about it so here I am writing about it for you.
When working with Django models...
blog.vicentereyes.org3 min read