Fixed #32618 -- Added link to conditional aggregation in aggregation topic guide.

This commit is contained in:
Hasan Ramezani 2021-04-10 00:04:44 +04:30 committed by GitHub
parent b8c9e9fae1
commit 1351f2ee16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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()``