diff --git a/docs/topics/db/aggregation.txt b/docs/topics/db/aggregation.txt index f34648124e..f3618e4303 100644 --- a/docs/topics/db/aggregation.txt +++ b/docs/topics/db/aggregation.txt @@ -295,7 +295,7 @@ file:: >>> Author.objects.aggregate(average_rating=Avg('book__rating')) -(The resulting dictionary will have a key called ``'average__rating'``. If no +(The resulting dictionary will have a key called ``'average_rating'``. If no such alias were specified, it would be the rather long ``'book__rating__avg'``.) Aggregations and other QuerySet clauses