Explorar o código

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

Hasan Ramezani %!s(int64=4) %!d(string=hai) anos
pai
achega
1351f2ee16
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      docs/topics/db/aggregation.txt

+ 1 - 1
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()``