Opened 9 years ago

Closed 9 years ago

Last modified 7 years ago

#13263 closed (fixed)

code example typo in the documentation

Reported by: RicherPots Owned by: Gabriel Hurley
Component: Documentation Version: 1.1
Severity: Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


On the documentation page, the code example:


is inconsistent with the Entry model:

class Entry(models.Model):
    authors = models.ManyToManyField(Author)

There are two other code snippets like the one above. For all of them, "authorname" should be replaced with "authorsname".

Attachments (1)

13263_docs_patch.diff (1.7 KB) - added by Gabriel Hurley 9 years ago.
corrects name of m2m field in query doc examples

Download all attachments as: .zip

Change History (5)

Changed 9 years ago by Gabriel Hurley

Attachment: 13263_docs_patch.diff added

corrects name of m2m field in query doc examples

comment:1 Changed 9 years ago by Gabriel Hurley

Has patch: set
milestone: 1.2
Owner: changed from nobody to Gabriel Hurley
Status: newassigned
Triage Stage: UnreviewedAccepted

Trivial patch. I even ran the example code before and after just to *really* be sure it was right ;-)

comment:2 Changed 9 years ago by anonymous

Triage Stage: AcceptedReady for checkin

comment:3 Changed 9 years ago by jbronn

Resolution: fixed
Status: assignedclosed

(In [12927]) [1.1.X] Fixed #13263 -- Corrected field name typo in queries documentation examples. Thanks, RicherPots for bug report and gabrielhurley for the patch.

Backport of r12926 from trunk

comment:4 Changed 7 years ago by Jacob

milestone: 1.2

Milestone 1.2 deleted

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