mirror of
https://github.com/django/django.git
synced 2025-08-03 02:23:12 +00:00
Deleted unused variable in SQLCompiler.get_related_selections().
Unused since 01d440fa1e
.
This commit is contained in:
parent
bcdd9149d4
commit
8e4a75e5d5
1 changed files with 0 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue