From cbc4c9f11f32fa99ecfe2dc365b6309ee4fc9277 Mon Sep 17 00:00:00 2001 From: Jacob Walls Date: Fri, 30 Jan 2026 15:20:12 -0500 Subject: Fixed typos in docs/ref/models/querysets.txt. --- docs/ref/models/querysets.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'docs') diff --git a/docs/ref/models/querysets.txt b/docs/ref/models/querysets.txt index 042b435b90..890395f6de 100644 --- a/docs/ref/models/querysets.txt +++ b/docs/ref/models/querysets.txt @@ -330,9 +330,9 @@ interested in the exact number of entries, you could do this: >>> blogs = Blog.objects.alias(entries=Count("entry")).filter(entries__gt=5) ``alias()`` can be used in conjunction with :meth:`annotate`, :meth:`exclude`, -:meth:`filter`, :meth:`order_by`, and :meth:`update`. To use aliased expression -with other methods (e.g. :meth:`aggregate`), you must promote it to an -annotation:: +:meth:`filter`, :meth:`order_by`, and :meth:`update`. To use an aliased +expression with other methods (e.g. :meth:`aggregate`), you must promote it to +an annotation:: Blog.objects.alias(entries=Count("entry")).annotate( entries=F("entries"), @@ -341,9 +341,9 @@ annotation:: :meth:`filter` and :meth:`order_by` can take expressions directly, but expression construction and usage often does not happen in the same place (for example, ``QuerySet`` method creates expressions, for later use in views). -``alias()`` allows building complex expressions incrementally, possibly -spanning multiple methods and modules, refer to the expression parts by their -aliases and only use :meth:`annotate` for the final result. +``alias()`` allows building complex expressions incrementally (possibly +spanning multiple methods and modules), referring to the expression parts by +their aliases, and only using :meth:`annotate` for the final result. ``order_by()`` ~~~~~~~~~~~~~~ -- cgit v1.3