소스 검색

Fixed #33391 -- Clarified Aggregate.empty_result_set_value docs.

Mariusz Felisiak 3 년 전
부모
커밋
4400d8568a
1개의 변경된 파일2개의 추가작업 그리고 3개의 파일을 삭제
  1. 2 3
      docs/ref/models/expressions.txt

+ 2 - 3
docs/ref/models/expressions.txt

@@ -418,9 +418,8 @@ The ``Aggregate`` API is as follows:
 
         .. versionadded:: 4.0
 
-        Override :attr:`~django.db.models.Expression.empty_result_set_value` to
-        ``None`` since most aggregate functions result in ``NULL`` when applied
-        to an empty result set.
+        Defaults to ``None`` since most aggregate functions result in ``NULL``
+        when applied to an empty result set.
 
 The ``expressions`` positional arguments can include expressions, transforms of
 the model field, or the names of model fields. They will be converted to a