Commit 9d0c8d3d authored by Tim Shaffer's avatar Tim Shaffer Committed by Tim Graham
Browse files

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

Backport of 8550566a from master
parent ccc367fd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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