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
403403sets of matching criteria. To create a ``Q`` object, pass your query
404404filter to the ``Q()`` method. You can pass multiple ``Q`` objects as
405405arguments 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
408408shows the syntax for passing multiple ``Q`` objects to the ``filter()``
409409method:
@@ -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
738738The following example uses ``annotate()`` and ``KT()`` to create a
739739new ``score`` key, which stores ``imdb.rating`` nested field values.
You can’t perform that action at this time.
0 commit comments