Browse files

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

… the report.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent a47153c commit 163bf995a5aaf2ca0e36ce769d26ce9ebccd4376 @freakboy3742 freakboy3742 committed Apr 16, 2009
Showing with 2 additions and 2 deletions.
  1. +2 −2 docs/ref/models/querysets.txt
@@ -188,7 +188,7 @@ to determine how many entries have been made in each blog::
>>> q[0].entry__count
-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::
@@ -1485,7 +1485,7 @@ A boolean full-text search, taking advantage of full-text indexing. This is
like ``contains`` but is significantly faster due to full-text indexing.
Entry.objects.filter(headline__search="+Django -jazz Python")
SQL equivalent::

0 comments on commit 163bf99

Please sign in to comment.