summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Shaffer <timshaffer@me.com>2016-03-25 13:14:52 -0400
committerTim Graham <timograham@gmail.com>2016-03-25 13:38:35 -0400
commit9d0c8d3dd9dce720f0b91d30508278e45235a3a9 (patch)
treefacd07a14004632d71dc2718ace6ab783f2866cc
parentccc367fd48655b8709a01653b224e5ffa19c9dee (diff)
[1.9.x] Fixed typo in docs/topics/db/aggregation.txt.
Backport of 8550566af6321fe111ac1fe6497720e6ac291824 from master
-rw-r--r--docs/topics/db/aggregation.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/topics/db/aggregation.txt b/docs/topics/db/aggregation.txt
index 4b23ca6be8..c5dddf29c6 100644
--- a/docs/topics/db/aggregation.txt
+++ b/docs/topics/db/aggregation.txt
@@ -294,7 +294,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