1
0
mirror of https://github.com/django/django.git synced 2025-03-29 02:30:48 +00:00

Removed outdated comment in Query.build_filter().

This commit is contained in:
Sergey Fedoseev 2017-08-11 18:19:19 +05:00 committed by Tim Graham
parent 7937cc16f5
commit 7fa92daa99

View File

@ -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()