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
This commit is contained in:
Russell Keith-Magee 2009-04-16 12:45:35 +00:00
parent a47153c8c1
commit 163bf995a5
1 changed files with 2 additions and 2 deletions

View File

@ -188,7 +188,7 @@ to determine how many entries have been made in each blog::
>>> q[0].entry__count >>> q[0].entry__count
42 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 but by using a keyword argument to specify the aggregate function, you can
control the name of the annotation:: control the name of the annotation::