Opened 16 years ago
Closed 16 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 , 16 years ago
Version: | 1.0 → SVN |
---|
comment:2 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:3 by , 16 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
comment:4 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Note:
See TracTickets
for help on using tickets.
Fixed in [9754]