Explorar o código

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

hesham hatem hai 2 semanas
pai
achega
e03440291b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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>]>