Commit 163bf995 authored by Russell Keith-Magee's avatar Russell Keith-Magee
Browse files

Fixed #10812 -- Corrected typo in aggregation docs. Thanks to uzi for the report.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@10562 bcc190cf-cafb-0310-a4f2-bffc1f526a37
parent a47153c8
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -188,7 +188,7 @@ to determine how many entries have been made in each blog::
    >>> q[0].entry__count
    42

The ``Blog`` model doesn't define an ``entry_count`` attribute by itself,
The ``Blog`` model doesn't define an ``entry__count`` attribute by itself,
but by using a keyword argument to specify the aggregate function, you can
control the name of the annotation::