diff options
| author | Russell Keith-Magee <russell@keith-magee.com> | 2009-02-24 22:51:14 +0000 |
|---|---|---|
| committer | Russell Keith-Magee <russell@keith-magee.com> | 2009-02-24 22:51:14 +0000 |
| commit | 86a048b4e0dd07d56fafe5d294d5e12b5277a41b (patch) | |
| tree | d55626a1128e60ddc02b314bcf4882554f5d8b0e /docs | |
| parent | 5f9ac288563ea6e8c9d25a7f7eeb1d437df28a8c (diff) | |
Fixed #10344 -- Corrected some typos in the aggregation docs. Thanks to ewoudenberg for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9904 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/topics/db/aggregation.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/topics/db/aggregation.txt b/docs/topics/db/aggregation.txt index a861959e66..14579598b9 100644 --- a/docs/topics/db/aggregation.txt +++ b/docs/topics/db/aggregation.txt @@ -143,7 +143,7 @@ Joins and aggregates ==================== So far, we have dealt with aggregates over fields that belong to the -model being queries. However, sometimes the value you want to aggregate +model being queried. However, sometimes the value you want to aggregate will belong to a model that is related to the model you are querying. When specifying the field to be aggregated in an aggregate functions, @@ -271,7 +271,7 @@ rating of books written by each author: >>> Author.objects.annotate(average_rating=Avg('book__rating')) -This will return one result for each author in the database, annotate with +This will return one result for each author in the database, annotated with their average book rating. However, the result will be slightly different if you use a ``values()`` clause:: |
