Django

Code

Ticket #664 (closed: fixed)

Opened 3 years ago

Last modified 2 years ago

Document 'singular' argument for ManyToMany fields

Reported by: L.Plant.98@cantab.net Assigned to: jacob
Milestone: Component: Documentation
Version: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: 0 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

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

django-docs-manytomany-singular.diff (1.1 kB) - added by L.Plant.98@cantab.net on 10/20/05 16:31:04.
description of the 'singular' argument in the docs

Change History

10/20/05 16:31:04 changed by L.Plant.98@cantab.net

  • attachment django-docs-manytomany-singular.diff added.

description of the 'singular' argument in the docs

10/20/05 17:35:56 changed by anonymous

  • type changed from defect to enhancement.
  • severity changed from normal to minor.

10/30/05 08:35:45 changed by jacob

  • status changed from new to closed.
  • resolution set to fixed.

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


Add/Change #664 (Document 'singular' argument for ManyToMany fields)




Change Properties
Action