Opened 8 years ago

Closed 8 years ago

#10042 closed (fixed)

Typo in aggregation docs

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

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 Changed 8 years ago by anonymous

Version: 1.0SVN

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

Resolution: fixed
Status: newclosed

Fixed in [9754]

comment:3 Changed 8 years ago by anonymous

Resolution: fixed
Status: closedreopened

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

Resolution: fixed
Status: reopenedclosed

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

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