Deleted unused variable in SQLCompiler.get_related_selections().

Unused since 01d440fa1e.
This commit is contained in:
Mads Jensen 2018-07-10 15:15:19 +02:00 committed by Tim Graham
parent bcdd9149d4
commit 8e4a75e5d5
1 changed files with 0 additions and 1 deletions

View File

@ -849,7 +849,6 @@ class SQLCompiler:
select, model._meta, alias, cur_depth + 1, select, model._meta, alias, cur_depth + 1,
next, restricted) next, restricted)
get_related_klass_infos(klass_info, next_klass_infos) get_related_klass_infos(klass_info, next_klass_infos)
fields_not_found = set(requested).difference(fields_found)
for name in list(requested): for name in list(requested):
# Filtered relations work only on the topmost level. # Filtered relations work only on the topmost level.
if cur_depth > 1: if cur_depth > 1: