File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -403,7 +403,7 @@ You can use ``Q`` objects to create query filters with multiple
403
403
sets of matching criteria. To create a ``Q`` object, pass your query
404
404
filter to the ``Q()`` method. You can pass multiple ``Q`` objects as
405
405
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
407
407
``Q`` objects by prefixing them with the ``~`` symbol. The following example
408
408
shows the syntax for passing multiple ``Q`` objects to the ``filter()``
409
409
method:
@@ -733,7 +733,7 @@ provided ``KT()`` expressions.
733
733
see the following resources in the Django documentation:
734
734
735
735
- `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>`__
737
737
738
738
The following example uses ``annotate()`` and ``KT()`` to create a
739
739
new ``score`` key, which stores ``imdb.rating`` nested field values.
You can’t perform that action at this time.
0 commit comments