1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00

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

This commit is contained in:
Tim Shaffer 2016-03-25 13:14:52 -04:00 committed by Tim Graham
parent 5974cbe32e
commit 8550566af6

View File

@ -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