summaryrefslogtreecommitdiff
path: root/django
diff options
context:
space:
mode:
authorAnssi Kääriäinen <akaariai@gmail.com>2013-08-30 09:44:56 +0300
committerAnssi Kääriäinen <akaariai@gmail.com>2013-08-30 09:46:16 +0300
commitcd10e998b6a8f9daaf2e25cad55f33f3df51ea88 (patch)
treebd7754e0cfc877c131b61c2c4489506a820c4337 /django
parent60df34d4771b6a97f3695f2095698082073e3379 (diff)
downloaddjango-cd10e998b6a8f9daaf2e25cad55f33f3df51ea88.tar.gz
[1.6.x] Removed stale add_q() comment
Backport of 13be3bfef1 from master
Diffstat (limited to 'django')
-rw-r--r--django/db/models/sql/query.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/django/db/models/sql/query.py b/django/db/models/sql/query.py
index 75e8e7540d..510b21b64b 100644
--- a/django/db/models/sql/query.py
+++ b/django/db/models/sql/query.py
@@ -1207,8 +1207,6 @@ class Query(object):
current_negated=False):
"""
Adds a Q-object to the current filter.
-
- Can also be used to add anything that has an 'add_to_query()' method.
"""
connector = q_object.connector
current_negated = current_negated ^ q_object.negated