1
0
mirror of https://github.com/django/django.git synced 2025-07-19 17:19:12 +00:00

[1.8.x] Fixed typo in docs/topics/db/aggregation.txt.

Backport of 8550566af6321fe111ac1fe6497720e6ac291824 from master
This commit is contained in:
Tim Shaffer 2016-03-25 13:14:52 -04:00 committed by Tim Graham
parent a2970a0464
commit 540b487cd6

View File

@ -295,7 +295,7 @@ file::
>>> Author.objects.aggregate(average_rating=Avg('book__rating')) >>> 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'``.) such alias were specified, it would be the rather long ``'book__rating__avg'``.)
Aggregations and other QuerySet clauses Aggregations and other QuerySet clauses