Skip to content
Browse files

[1.6.x] Removed stale add_q() comment

Backport of 13be3bf from master
  • Loading branch information...
1 parent 60df34d commit cd10e998b6a8f9daaf2e25cad55f33f3df51ea88 @akaariai akaariai committed
Showing with 0 additions and 2 deletions.
  1. +0 −2 django/db/models/sql/query.py
View
2 django/db/models/sql/query.py
@@ -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

0 comments on commit cd10e99

Please sign in to comment.
Something went wrong with that request. Please try again.