Commits

Anonymous committed f3ca524

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

  • Participants
  • Parent commits 781fbd6

Comments (0)

Files changed (1)

docs/topics/db/aggregation.txt

 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