Document 'singular' argument for ManyToMany fields
Reported by: |
L.Plant.98@… |
Owned by: |
Jacob |
Component:
|
Documentation
|
Version:
|
|
Severity:
|
minor
|
Keywords:
|
|
Cc:
|
|
Triage Stage:
|
Unreviewed
|
Has patch:
|
no
|
Needs documentation:
|
no
|
Needs tests:
|
no
|
Patch needs improvement:
|
no
|
Easy pickings:
|
no
|
UI/UX:
|
no
|
Having two ManyToMany relationships between the same two models is actually fairly common (I came across it myself early on in creating my models and have seen a number of people asking about this situation). So it needs to be better documented how you do this and get the get_XXX methods you need, and below is a very small patch to the docs which I think is correct. (I haven't checked the formatting parses correctly as I don't know how to do that, but it should be right).
description of the 'singular' argument in the docs