Opened 14 years ago

Closed 14 years ago

Last modified 13 years ago

#664 closed enhancement (fixed)

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).

Attachments (1)

django-docs-manytomany-singular.diff (1.1 KB) - added by L.Plant.98@… 14 years ago.
description of the 'singular' argument in the docs

Download all attachments as: .zip

Change History (3)

Changed 14 years ago by L.Plant.98@…

description of the 'singular' argument in the docs

comment:1 Changed 14 years ago by anonymous

Severity: normalminor
Type: defectenhancement

comment:2 Changed 14 years ago by Jacob

Resolution: fixed
Status: newclosed

(In [1025]) Documented singular argument for m2m relationships (fixes #664).

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