From 1351f2ee163145df2cf5471eb3e57289f8853512 Mon Sep 17 00:00:00 2001 From: Hasan Ramezani Date: Sat, 10 Apr 2021 00:04:44 +0430 Subject: [PATCH] Fixed #32618 -- Added link to conditional aggregation in aggregation topic guide. --- docs/topics/db/aggregation.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()``