mirror of
https://github.com/django/django.git
synced 2025-02-01 21:29:24 +00:00
Deleted unused variable in SQLCompiler.get_related_selections().
Unused since 01d440fa1e6b5c62acfa8b3fde43dfa1505f93c6.
This commit is contained in:
parent
bcdd9149d4
commit
8e4a75e5d5
@ -849,7 +849,6 @@ class SQLCompiler:
|
||||
select, model._meta, alias, cur_depth + 1,
|
||||
next, restricted)
|
||||
get_related_klass_infos(klass_info, next_klass_infos)
|
||||
fields_not_found = set(requested).difference(fields_found)
|
||||
for name in list(requested):
|
||||
# Filtered relations work only on the topmost level.
|
||||
if cur_depth > 1:
|
||||
|
Loading…
x
Reference in New Issue
Block a user