mirror of
https://github.com/django/django.git
synced 2024-11-29 14:46:18 +01:00
Removed unused 'Between' lookup.
It was added in20bab2cf9d
and stopped being used for `Range` in00aa562884
when `bilateral` was added to `Transform`.
This commit is contained in:
parent
72e5778b23
commit
6a383f773a
@ -341,11 +341,6 @@ class IEndsWith(PatternLookup):
|
||||
Field.register_lookup(IEndsWith)
|
||||
|
||||
|
||||
class Between(BuiltinLookup):
|
||||
def get_rhs_op(self, connection, rhs):
|
||||
return "BETWEEN %s AND %s" % (rhs, rhs)
|
||||
|
||||
|
||||
class Range(BuiltinLookup):
|
||||
lookup_name = 'range'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user