From 7fa92daa9910ef2e1e204fa5a2500421eb8a2af5 Mon Sep 17 00:00:00 2001 From: Sergey Fedoseev Date: Fri, 11 Aug 2017 18:19:19 +0500 Subject: [PATCH] Removed outdated comment in Query.build_filter(). --- django/db/models/sql/query.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/django/db/models/sql/query.py b/django/db/models/sql/query.py index 1eb85986906..544e23db0b5 100644 --- a/django/db/models/sql/query.py +++ b/django/db/models/sql/query.py @@ -1136,8 +1136,6 @@ class Query: if not allow_joins and len(parts) > 1: raise FieldError("Joined field references are not permitted in this query") - # Work out the lookup type and remove it from the end of 'parts', - # if necessary. value, used_joins = self.resolve_lookup_value(value, can_reuse, allow_joins) clause = self.where_class()