1
0
mirror of https://github.com/django/django.git synced 2025-03-13 10:50:55 +00:00

[5.2.x] Fixed #36249 -- Fixed typo in docs/topics/db/queries.txt.

Backport of e03440291b0599934da73b7dfbd2ccf7ec7270d8 from main.
This commit is contained in:
hesham hatem 2025-03-12 23:09:04 +02:00 committed by Natalia
parent 95031c1ab1
commit 0a61485092

View File

@ -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>]>