KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
What is the related_name argument useful for on ManyToManyField and ForeignKey fields? For example, given the following code, what is the effect of related_name='maps' ? class Map(db.Model): members = models.ManyToManyField(User, related_name='maps', verbose_name=_('members'))
Tags (comma-separated)
Save Edits
Cancel