mirror of
https://github.com/django/django.git
synced 2025-02-08 08:26:13 +00:00
Removed unused rest_of_lookups parameter of Query.try_transform().
Unused since 534aaf56f4a8e261e111426b2a709e2f8816192f.
This commit is contained in:
parent
82bb4e684f
commit
e45633086c
@ -1095,13 +1095,13 @@ class Query:
|
||||
# We didn't find a lookup. We are going to interpret
|
||||
# the name as transform, and do an Exact lookup against
|
||||
# it.
|
||||
lhs = self.try_transform(lhs, name, lookups)
|
||||
lhs = self.try_transform(lhs, name)
|
||||
final_lookup = lhs.get_lookup('exact')
|
||||
return final_lookup(lhs, rhs)
|
||||
lhs = self.try_transform(lhs, name, lookups)
|
||||
lhs = self.try_transform(lhs, name)
|
||||
lookups = lookups[1:]
|
||||
|
||||
def try_transform(self, lhs, name, rest_of_lookups):
|
||||
def try_transform(self, lhs, name):
|
||||
"""
|
||||
Helper method for build_lookup(). Try to fetch and initialize
|
||||
a transform for name parameter from lhs.
|
||||
|
Loading…
x
Reference in New Issue
Block a user