summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/or_lookups/models.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/or_lookups/models.py b/tests/or_lookups/models.py
index efe70ab8dd..bd1840338f 100644
--- a/tests/or_lookups/models.py
+++ b/tests/or_lookups/models.py
@@ -5,8 +5,7 @@ To perform an OR lookup, or a lookup that combines ANDs and ORs, combine
``QuerySet`` objects using ``&`` and ``|`` operators.
Alternatively, use positional arguments, and pass one or more expressions of
-clauses using the variable ``django.db.models.Q`` (or any object with an
-``add_to_query`` method).
+clauses using the variable ``django.db.models.Q``.
"""
from django.db import models