Opened 16 years ago

Closed 16 years ago

Last modified 13 years ago

#10812 closed (fixed)

Slight documentation inconsistency in querysets.txt

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

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 16 years ago.
One underscore added

Download all attachments as: .zip

Change History (4)

by Joshua Uziel, 16 years ago

Attachment: entry__count.diff added

One underscore added

comment:1 by Alex Gaynor, 16 years ago

Triage Stage: UnreviewedReady for checkin

comment:2 by Russell Keith-Magee, 16 years ago

Resolution: fixed
Status: newclosed

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

comment:3 by Jacob, 13 years ago

milestone: 1.1

Milestone 1.1 deleted

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