Deleted unused variable in SQLCompiler.get_related_selections().
Unused since 01d440fa1e
.
This commit is contained in:
parent
bcdd9149d4
commit
8e4a75e5d5
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue