Opened 8 years ago

Closed 8 years ago

Last modified 5 years ago

#10812 closed (fixed)

Slight documentation inconsistency in querysets.txt

Reported by: Joshua Uziel Owned by: nobody
Component: Documentation Version: master
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

Under http://docs.djangoproject.com/en/dev/ref/models/querysets/#id8 there is an example with

>>> q[0].entry__count

and below it the text

The Blog model doesn't define an entry_count attribute by itself ...

That one has one underscore and the other two may be inconsistent (it's subjective). Just in case, here's a bug and a patch.

Attachments (1)

entry__count.diff (529 bytes) - added by Joshua Uziel 8 years ago.
One underscore added

Download all attachments as: .zip

Change History (4)

Changed 8 years ago by Joshua Uziel

Attachment: entry__count.diff added

One underscore added

comment:1 Changed 8 years ago by Alex Gaynor

Triage Stage: UnreviewedReady for checkin

comment:2 Changed 8 years ago by Russell Keith-Magee

Resolution: fixed
Status: newclosed

(In [10562]) Fixed #10812 -- Corrected typo in aggregation docs. Thanks to uzi for the report.

comment:3 Changed 5 years ago by Jacob

milestone: 1.1

Milestone 1.1 deleted

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