Opened 15 years ago

Closed 15 years ago

#10042 closed (fixed)

Typo in aggregation docs

Reported by: anonymous Owned by: nobody
Component: Documentation Version: dev
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

I think there is a typo in the documentation for Aggregation - joins and aggregates, examples 1 & 2:

I think

>>> Store.objects.annotate(min_price=Min('books__price'), max_price=Min('books__price'))

should read

>>> Store.objects.annotate(min_price=Min('books__price'), max_price=Max('books__price'))

Same for the second example.

Change History (4)

comment:1 by anonymous, 15 years ago

Version: 1.0SVN

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

Resolution: fixed
Status: newclosed

Fixed in [9754]

comment:3 by anonymous, 15 years ago

Resolution: fixed
Status: closedreopened

comment:4 by Russell Keith-Magee, 15 years ago

Resolution: fixed
Status: reopenedclosed

(In [9755]) Fixed #10042 -- YAADT (Aggregation Docs Typo).

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