0
0
mirror of https://github.com/django/django.git synced 2024-11-29 22:56:46 +01:00

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

View File

@ -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'