mirror of
https://github.com/django/django.git
synced 2025-07-24 05:36:15 +00:00
Removed extra enumerate() from Query.setup_joins()
This commit is contained in:
parent
c56c42b5c0
commit
4e9a6c94e6
1 changed files with 1 additions and 1 deletions
|
@ -1478,7 +1478,7 @@ class Query(object):
|
|||
# Then, add the path to the query's joins. Note that we can't trim
|
||||
# joins at this stage - we will need the information about join type
|
||||
# of the trimmed joins.
|
||||
for pos, join in enumerate(path):
|
||||
for join in path:
|
||||
opts = join.to_opts
|
||||
if join.direct:
|
||||
nullable = self.is_nullable(join.join_field)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue