mirror of https://github.com/django/django.git
Removed outdated comment in Query.build_filter().
This commit is contained in:
parent
7937cc16f5
commit
7fa92daa99
|
@ -1136,8 +1136,6 @@ class Query:
|
||||||
if not allow_joins and len(parts) > 1:
|
if not allow_joins and len(parts) > 1:
|
||||||
raise FieldError("Joined field references are not permitted in this query")
|
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)
|
value, used_joins = self.resolve_lookup_value(value, can_reuse, allow_joins)
|
||||||
|
|
||||||
clause = self.where_class()
|
clause = self.where_class()
|
||||||
|
|
Loading…
Reference in New Issue