From c487634c106888effbba680e02269e489ab911a6 Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Fri, 21 Apr 2023 12:03:59 +0200 Subject: Added meaningful titles to ..admonition:: directives. --- docs/ref/models/querysets.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/ref/models') diff --git a/docs/ref/models/querysets.txt b/docs/ref/models/querysets.txt index 50714114fc..0965a05dad 100644 --- a/docs/ref/models/querysets.txt +++ b/docs/ref/models/querysets.txt @@ -3820,7 +3820,7 @@ documentation to learn how to create your aggregates. currently emulates these features using a text field. Attempts to use aggregation on date/time fields in SQLite will raise ``NotSupportedError``. -.. admonition:: Note +.. admonition:: Empty queryset Aggregation functions return ``None`` when used with an empty ``QuerySet``. For example, the ``Sum`` aggregation function returns ``None`` -- cgit v1.3