Refs #373 -- Removed outdated comment in RelatedIn lookup.

This commit is contained in:
Csirmaz Bendegúz 2024-09-11 22:32:06 +08:00 committed by GitHub
parent c3ca6075cc
commit 96c990795c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 4 deletions

View File

@ -74,10 +74,6 @@ class RelatedIn(In):
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():