Commit d7ce48f1 authored by Baptiste Mispelon's avatar Baptiste Mispelon
Browse files

Fixed #21864 -- Fixed missing quote in custom lookup example.

Thanks to Chris Barna for the report.
parent 12303ab7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -162,7 +162,7 @@ The implementation is::
          lhs, lhs_params = qn.compile(self.lhs.lhs)
          rhs, rhs_params = self.process_rhs(qn, connection)
          params = lhs_params + rhs_params + lhs_params + rhs_params
          return '%s > %s AND %s < -%s % (lhs, rhs, lhs, rhs), params
          return '%s > %s AND %s < -%s' % (lhs, rhs, lhs, rhs), params

  AbsoluteValue.register_lookup(AbsoluteValueLessThan)