From 96c990795c0bd494d20a44e0dee0aea0dd7587a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Csirmaz=20Bendeg=C3=BAz?= Date: Wed, 11 Sep 2024 22:32:06 +0800 Subject: [PATCH] Refs #373 -- Removed outdated comment in RelatedIn lookup. --- django/db/models/fields/related_lookups.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/django/db/models/fields/related_lookups.py b/django/db/models/fields/related_lookups.py index 0df7b4725d..8b5663dfea 100644 --- a/django/db/models/fields/related_lookups.py +++ b/django/db/models/fields/related_lookups.py @@ -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():