Code

Ticket #10039: aggdocs.diff

File aggdocs.diff, 770 bytes (added by ElliottM, 5 years ago)
Line 
1Index: docs/topics/db/aggregation.txt
2===================================================================
3--- docs/topics/db/aggregation.txt      (revision 9751)
4+++ docs/topics/db/aggregation.txt      (working copy)
5@@ -105,9 +105,9 @@
6 will be annotated with the specified values.
7 
8 The syntax for these annotations is identical to that used for the
9-``aggregate()`` clause. Each argument to ``annotate()`` describes and
10-aggregate that is to be calculated. For example, to annotate Books with
11-the number of authors::
12+``aggregate()`` clause. Each argument to ``annotate()`` describes an aggregate
13+that is to be calculated. For example, to annotate Books with the number of
14+authors::
15 
16     # Build an annotated queryset
17     >>> q = Book.objects.annotate(Count('authors'))