Commits

Anonymous committed 781fbd6

Fixed #10039 -- More typos in aggregation docs. Seriously, people, now you're just making me look bad :-) Thanks to ElliottM, and to Erich Holscher for a separate report that I've piggybacked on this checkin.

Comments (0)

Files changed (1)

docs/topics/db/aggregation.txt

 will be annotated with the specified values.
 
 The syntax for these annotations is identical to that used for the
-``aggregate()`` clause. Each argument to ``annotate()`` describes and
+``aggregate()`` clause. Each argument to ``annotate()`` describes an
 aggregate that is to be calculated. For example, to annotate Books with
 the number of authors::
 
 For example, to find the price range of books offered in each store,
 you could use the annotation::
 
-    >>> Store.objects.annotate(min_price=Min('books__price'), max_price=Min('books__price'))
+    >>> Store.objects.annotate(min_price=Min('books__price'), max_price=Max('books__price'))
 
 This tells Django to retrieve the Store model, join (through the
 many-to-many relationship) with the Book model, and aggregate on the