Skip to content

Commit eae953b

Browse files
committed
edits
1 parent 9628ae2 commit eae953b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/interact-data/specify-a-query.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ You can use ``Q`` objects to create query filters with multiple
403403
sets of matching criteria. To create a ``Q`` object, pass your query
404404
filter to the ``Q()`` method. You can pass multiple ``Q`` objects as
405405
arguments to your query method and separate each Q object by an OR
406-
(``|``), AND (``&``), or NOT (``^``) operator. You can also negate
406+
(``|``), AND (``&``), or XOR (``^``) operator. You can also negate
407407
``Q`` objects by prefixing them with the ``~`` symbol. The following example
408408
shows the syntax for passing multiple ``Q`` objects to the ``filter()``
409409
method:
@@ -733,7 +733,7 @@ provided ``KT()`` expressions.
733733
see the following resources in the Django documentation:
734734

735735
- `KT() expressions <{+django-docs+}/topics/db/queries/#module-django.db.models.fields.json>`__
736-
- `annotate() <{+django-docs+}/models/querysets/#django.db.models.query.QuerySet.annotate>`__
736+
- `annotate() <{+django-docs+}/ref/models/querysets/#django.db.models.query.QuerySet.annotate>`__
737737

738738
The following example uses ``annotate()`` and ``KT()`` to create a
739739
new ``score`` key, which stores ``imdb.rating`` nested field values.

0 commit comments

Comments
 (0)