Commit 6a383f77 authored by Adam Chainz's avatar Adam Chainz Committed by Tim Graham
Browse files

Removed unused 'Between' lookup.

It was added in 20bab2cf and stopped being
used for `Range` in 00aa5628 when
`bilateral` was added to `Transform`.
parent 72e5778b
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -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'