Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#13718 closed (fixed)

Typing error in Django Documentation on Models

Reported by: gvkalra 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@…> 5 years ago.
Ze patch, boss, ze patch!

Download all attachments as: .zip

Change History (6)

comment:1 Changed 5 years ago by russellm

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

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

Ze patch, boss, ze patch!

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

  • Has patch set

comment:3 Changed 5 years ago by Alex

  • Triage Stage changed from Accepted to Ready for checkin

comment:4 Changed 5 years ago by russellm

  • Resolution set to fixed
  • Status changed from new to closed

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

comment:5 Changed 5 years ago by russellm

(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