Browse Source

Fixed #36249 -- Fixed typo in docs/topics/db/queries.txt.

hesham hatem 1 week ago
parent
commit
e03440291b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/topics/db/queries.txt

+ 1 - 1
docs/topics/db/queries.txt

@@ -1179,7 +1179,7 @@ To query for missing keys, use the ``isnull`` lookup:
         ...     },
         ... )
         <Dog: Shep>
-        >>> Dogs.objects.annotate(
+        >>> Dog.objects.annotate(
         ...     first_breed=KT("data__breed__1"), owner_name=KT("data__owner__name")
         ... ).filter(first_breed__startswith="lhasa", owner_name="Bob")
         <QuerySet [<Dog: Shep>]>