diff options
Diffstat (limited to 'docs/topics/db/aggregation.txt')
| -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 ba797c0b68..8d8fff0211 100644 --- a/docs/topics/db/aggregation.txt +++ b/docs/topics/db/aggregation.txt @@ -734,7 +734,7 @@ To avoid this, you can wrap the non-aggregate expression with .. code-block:: pycon - >>> from django.db.models import F, Count, Greatest + >>> from django.db.models import AnyValue, F, Count, Greatest >>> Book.objects.values( ... greatest_pages=Greatest("pages", 600), ... ).annotate( |
