summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorHasan Ramezani <hasan.r67@gmail.com>2021-04-10 00:04:44 +0430
committerGitHub <noreply@github.com>2021-04-09 21:34:44 +0200
commit1351f2ee163145df2cf5471eb3e57289f8853512 (patch)
tree3a027923c0c806fd48fbacfee28380267be01688 /docs
parentb8c9e9fae14676d2e81242cb8df1e2eeef9c3a2d (diff)
Fixed #32618 -- Added link to conditional aggregation in aggregation topic guide.
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/db/aggregation.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/topics/db/aggregation.txt b/docs/topics/db/aggregation.txt
index cc6310052a..2e882e2a1a 100644
--- a/docs/topics/db/aggregation.txt
+++ b/docs/topics/db/aggregation.txt
@@ -354,7 +354,7 @@ authors with a count of highly rated books::
>>> Author.objects.annotate(num_books=Count('book'), highly_rated_books=highly_rated)
Each ``Author`` in the result set will have the ``num_books`` and
-``highly_rated_books`` attributes.
+``highly_rated_books`` attributes. See also :ref:`conditional-aggregation`.
.. admonition:: Choosing between ``filter`` and ``QuerySet.filter()``