diff options
| author | Russell Keith-Magee <russell@keith-magee.com> | 2009-04-16 12:45:35 +0000 |
|---|---|---|
| committer | Russell Keith-Magee <russell@keith-magee.com> | 2009-04-16 12:45:35 +0000 |
| commit | 163bf995a5aaf2ca0e36ce769d26ce9ebccd4376 (patch) | |
| tree | 4e64d8bdb5e04a456a4e8f40f720c41a632edf8d /docs/ref/models | |
| parent | a47153c8c1da35968af023516ee0e1ad5a89e428 (diff) | |
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
Diffstat (limited to 'docs/ref/models')
| -rw-r--r-- | docs/ref/models/querysets.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/models/querysets.txt b/docs/ref/models/querysets.txt index 4124e78513..fa58060916 100644 --- a/docs/ref/models/querysets.txt +++ b/docs/ref/models/querysets.txt @@ -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:: @@ -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. Example:: - + Entry.objects.filter(headline__search="+Django -jazz Python") SQL equivalent:: |
