diff options
| author | Baptiste Mispelon <bmispelon@gmail.com> | 2014-01-23 16:13:20 +0100 |
|---|---|---|
| committer | Baptiste Mispelon <bmispelon@gmail.com> | 2014-01-23 16:13:20 +0100 |
| commit | d7ce48f175eae17897b3b3ff792998873ff1c6ec (patch) | |
| tree | e58273fef0ee7dd1ee0ad15bd2b0d6f9bdfecbde /docs/ref | |
| parent | 12303ab738ab6c6eecf1f546aa9c0fb8ba5df950 (diff) | |
Fixed #21864 -- Fixed missing quote in custom lookup example.
Thanks to Chris Barna for the report.
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/models/custom-lookups.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/models/custom-lookups.txt b/docs/ref/models/custom-lookups.txt index ec8aa72b38..f735752e0e 100644 --- a/docs/ref/models/custom-lookups.txt +++ b/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) |
