diff options
| author | Hasan Ramezani <hasan.r67@gmail.com> | 2021-04-10 00:04:44 +0430 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2021-04-09 21:35:43 +0200 |
| commit | 078bcd587dd0b4cc395713be02c38549f5fe65e3 (patch) | |
| tree | 96fcdff6a87e9269eb5cb56ce0ce2fe3075857b9 | |
| parent | 0abbdc8ef635ba5b2eeb0145f4a07e0fe3956d32 (diff) | |
[3.2.x] Fixed #32618 -- Added link to conditional aggregation in aggregation topic guide.
Backport of 1351f2ee163145df2cf5471eb3e57289f8853512 from main
| -rw-r--r-- | docs/topics/db/aggregation.txt | 2 |
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()`` |
