Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #21865 -- Incorrect signs in documented example.

Maths is hard.
  • Loading branch information...
commit 16f3a6a4c7bab11644d11c2be029374e5095cb56 1 parent 89df518
@mjtamlyn mjtamlyn authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  docs/ref/models/custom-lookups.txt
View
2  docs/ref/models/custom-lookups.txt
@@ -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)
Please sign in to comment.
Something went wrong with that request. Please try again.