Removed unused 'Between' lookup.

It was added in 20bab2cf9d and stopped being
used for `Range` in 00aa562884 when
`bilateral` was added to `Transform`.
This commit is contained in:
Adam Chainz 2016-02-28 10:32:33 +00:00 committed by Tim Graham
parent 72e5778b23
commit 6a383f773a
1 changed files with 0 additions and 5 deletions

View File

@ -341,11 +341,6 @@ class IEndsWith(PatternLookup):
Field.register_lookup(IEndsWith) Field.register_lookup(IEndsWith)
class Between(BuiltinLookup):
def get_rhs_op(self, connection, rhs):
return "BETWEEN %s AND %s" % (rhs, rhs)
class Range(BuiltinLookup): class Range(BuiltinLookup):
lookup_name = 'range' lookup_name = 'range'