summaryrefslogtreecommitdiff
path: root/docs/topics/db/aggregation.txt
diff options
context:
space:
mode:
authorRussell Keith-Magee <russell@keith-magee.com>2009-01-16 00:02:35 +0000
committerRussell Keith-Magee <russell@keith-magee.com>2009-01-16 00:02:35 +0000
commitf9f9d703cfef64766ab5a3d7cb5d79298367f621 (patch)
tree79c3f04fe58d9e97e4ed5502d7aab117aadf27bf /docs/topics/db/aggregation.txt
parentb3dd0b5dccc7f9c230fd0b78cbf60483b010bc3e (diff)
Fixed #10042 -- YAADT (Aggregation Docs Typo).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9755 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/topics/db/aggregation.txt')
-rw-r--r--docs/topics/db/aggregation.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/topics/db/aggregation.txt b/docs/topics/db/aggregation.txt
index 41832743bc..9ee39fc081 100644
--- a/docs/topics/db/aggregation.txt
+++ b/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