Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

git-svn-id: http://code.djangoproject.com/svn/django/trunk@9755 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit f9f9d703cfef64766ab5a3d7cb5d79298367f621 1 parent b3dd0b5
Russell Keith-Magee authored January 16, 2009

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  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
165 165
 know the lowest and highest price of any book that is available for sale
166 166
 in a store, you could use the aggregate::
167 167
 
168  
-    >>> Store.objects.aggregate(min_price=Min('books__price'), max_price=Min('books__price'))
  168
+    >>> Store.objects.aggregate(min_price=Min('books__price'), max_price=Max('books__price'))
169 169
 
170 170
 Join chains can be as deep as you require. For example, to extract the
171 171
 age of the youngest author of any book available for sale, you could

0 notes on commit f9f9d70

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