mirror of
https://github.com/django/django.git
synced 2025-10-26 15:16:09 +00:00
Removed unused 'Between' lookup.
It was added in20bab2cf9dand stopped being used for `Range` in00aa562884when `bilateral` was added to `Transform`.
This commit is contained in:
@@ -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'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user