Opened 4 years ago

Closed 3 years ago

Last modified 3 years ago

#15325 closed New feature (fixed)

Please include a reference to the 'Related objects reference' in '/en/1.x/ref/models/fields/#manytomanyfield'

Reported by: jammon Owned by: nobody
Component: Documentation Version: 1.2
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

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:2 Changed 4 years ago by lrekucki

  • Severity set to Normal
  • Type set to New feature

comment:3 Changed 3 years ago by aaugustin

  • UI/UX unset

Change UI/UX from NULL to False.

comment:4 Changed 3 years ago by aaugustin

  • Easy pickings unset

Change Easy pickings from NULL to False.

comment:5 Changed 3 years ago by Tim Graham <timograham@…>

  • Resolution set to fixed
  • Status changed from new to closed

In 0fdfcee257155ad29ff161725d94f41f0e77691f:

Fixed #15325 - Added a link to RelatedManager in the ManytoManyField docs; thanks jammon for the suggestion.

comment:6 Changed 3 years ago by Tim Graham <timograham@…>

In 1189dca471b9d2c01a570526fbbcddf659dfff43:

[1.4.X] Fixed #15325 - Added a link to RelatedManager in the ManytoManyField docs; thanks jammon for the suggestion.

Backport of 0fdfcee257 from master

Note: See TracTickets for help on using tickets.
Back to Top