소스 검색

Fixed typo in docs/topics/db/aggregation.txt.

Tim Shaffer 9 년 전
부모
커밋
8550566af6
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      docs/topics/db/aggregation.txt

+ 1 - 1
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