Skip to content

Commit

Permalink
Refs django#373 -- Removed outdated comment in RelatedIn lookup.
Browse files Browse the repository at this point in the history
  • Loading branch information
csirmazbendeguz authored Sep 11, 2024
1 parent c3ca607 commit 96c9907
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions django/db/models/fields/related_lookups.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,6 @@ def get_prep_lookup(self):

def as_sql(self, compiler, connection):
if isinstance(self.lhs, ColPairs):
# For multicolumn lookups we need to build a multicolumn where clause.
# This clause is either a SubqueryConstraint (for values that need
# to be compiled to SQL) or an OR-combined list of
# (col1 = val1 AND col2 = val2 AND ...) clauses.
from django.db.models.sql.where import SubqueryConstraint

if self.rhs_is_direct_value():
Expand Down

0 comments on commit 96c9907

Please sign in to comment.