Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[1.6.x] Removed stale add_q() comment

Backport of 13be3bf from master
  • Loading branch information...
commit cd10e998b6a8f9daaf2e25cad55f33f3df51ea88 1 parent 60df34d
Anssi Kääriäinen akaariai authored
Showing with 0 additions and 2 deletions.
  1. +0 −2  django/db/models/sql/query.py
2  django/db/models/sql/query.py
View
@@ -1207,8 +1207,6 @@ def _add_q(self, q_object, used_aliases, branch_negated=False,
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
Please sign in to comment.
Something went wrong with that request. Please try again.