summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSergey Fedoseev <fedoseev.sergey@gmail.com>2017-07-25 16:52:05 +0500
committerTim Graham <timograham@gmail.com>2017-07-25 07:52:05 -0400
commitd17eaa868cd6911197dcd8b096c4f0418c47007e (patch)
tree4982fa6bd3248b24eeaae0a383d235472ec93d64 /tests
parentf32d24652b920135eb6a0f3de74599f03e181731 (diff)
Removed obsolete references to add_to_query().
Support for it was removed in d3f00bd5706b35961390d3814dd7e322ead3a9a3.
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