Opened 6 years ago

Closed 6 years ago

Last modified 3 years ago

#10812 closed (fixed)

Slight documentation inconsistency in querysets.txt

Reported by: uzi 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 uzi 6 years ago.
One underscore added

Download all attachments as: .zip

Change History (4)

Changed 6 years ago by uzi

One underscore added

comment:1 Changed 6 years ago by Alex

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Ready for checkin

comment:2 Changed 6 years ago by russellm

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

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

comment:3 Changed 3 years ago by jacob

  • milestone 1.1 deleted

Milestone 1.1 deleted

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