Opened 7 years ago

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

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Version changed from 1.0 to SVN

comment:2 Changed 7 years ago by russellm

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

Fixed in [9754]

comment:3 Changed 7 years ago by anonymous

  • Resolution fixed deleted
  • Status changed from closed to reopened

comment:4 Changed 7 years ago by russellm

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

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

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