Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Fixed #10042 -- YAADT (Aggregation Docs Typo).

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent b3dd0b5 commit f9f9d703cfef64766ab5a3d7cb5d79298367f621 @freakboy3742 freakboy3742 committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  docs/topics/db/aggregation.txt
2  docs/topics/db/aggregation.txt
@@ -165,7 +165,7 @@ The same rules apply to the ``aggregate()`` clause. If you wanted to
know the lowest and highest price of any book that is available for sale
in a store, you could use the aggregate::
- >>> Store.objects.aggregate(min_price=Min('books__price'), max_price=Min('books__price'))
+ >>> Store.objects.aggregate(min_price=Min('books__price'), max_price=Max('books__price'))
Join chains can be as deep as you require. For example, to extract the
age of the youngest author of any book available for sale, you could

0 comments on commit f9f9d70

Please sign in to comment.
Something went wrong with that request. Please try again.