Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#13718 closed (fixed)

Typing error in Django Documentation on Models

Reported by: Gaurav Kalra Owned by: nobody
Component: Documentation Version: 1.2
Severity: Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

Hi.
Please have a look here: http://docs.djangoproject.com/en/1.2/topics/db/models/#many-to-many-relationships

The line I am pointing to is:
As with ForeignKey, you can also create recursive relationships (an
object with a many-to-one relationship to itself) and relationships to
models not yet defined; see the model field reference for details.

shouldn't that be: an object with a many-to-many (instead of many-to-
one) relationship to itself ? Since the relation is recursive but also
has many-to-many property at the same time!

Attachments (1)

django-13718.patch (620 bytes) - added by Joshua Ginsberg <jag@…> 6 years ago.
Ze patch, boss, ze patch!

Download all attachments as: .zip

Change History (6)

comment:1 Changed 6 years ago by Russell Keith-Magee

Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
Triage Stage: UnreviewedAccepted

Changed 6 years ago by Joshua Ginsberg <jag@…>

Attachment: django-13718.patch added

Ze patch, boss, ze patch!

comment:2 Changed 6 years ago by Joshua Ginsberg <jag@…>

Has patch: set

comment:3 Changed 6 years ago by Alex Gaynor

Triage Stage: AcceptedReady for checkin

comment:4 Changed 6 years ago by Russell Keith-Magee

Resolution: fixed
Status: newclosed

(In [13528]) Fixed #13718 -- Corrected typo in model docs. Thanks to gvkalra for the report.

comment:5 Changed 6 years ago by Russell Keith-Magee

(In [13534]) [1.2.X] Fixed #13718 -- Corrected typo in model docs. Thanks to gvkalra for the report.

Backport of r13528 from trunk.

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