Posts tagged "manytomanyfield"

Tips, lessons learned, and news from the REVSYS team on Django, Python, PostgreSQL, and operations.

Tips for Using Django's ManyToManyField

ManyToManyFields confuse a lot of people. The way you relate objects to each other is just different enough from dealing with ForeignKeys and just uncommon enough in day-to-day Django development that it's easy to forget all the little tricks for dealing with them.