Opened 19 years ago

Closed 19 years ago

Last modified 18 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

Description

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@… 19 years ago.
description of the 'singular' argument in the docs

Download all attachments as: .zip

Change History (3)

by L.Plant.98@…, 19 years ago

description of the 'singular' argument in the docs

comment:1 by anonymous, 19 years ago

Severity: normalminor
Type: defectenhancement

comment:2 by Jacob, 19 years ago

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