Please include a reference to the 'Related objects reference' in '/en/1.x/ref/models/fields/#manytomanyfield'
|Reported by:||jammon||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Maybe it's just me. But more than once I was seeking for the description of ManyToManyField.add() and didn't find it in '/en/1.2/ref/models/fields/#manytomanyfield', where all the arguments of ManyToManyField are described.
(Now I understood, that 'add()' is a method of RelatedManager and not of ManyToManyField. But for the uninitiated it looks as if you could add relations to a ManyToManyField through its add()-method - which might as well be intentional.)
Maybe add something like this to '/ref/models/fields/#manytomanyfield': "Related objects can be added, removed or created with the ManyToManyField's :doc:RelatedManager</ref/models/relations>."
Change History (6)
comment:1 Changed 4 years ago by russellm
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
- Triage Stage changed from Unreviewed to Accepted
comment:5 Changed 2 years ago by Tim Graham <timograham@…>
- Resolution set to fixed
- Status changed from new to closed