From 7d9014864ca7a829ca590e0839671a9ef5a226d0 Mon Sep 17 00:00:00 2001 From: Chris Barna Date: Thu, 23 Jan 2014 10:11:15 -0500 Subject: [PATCH] Fixes #21864: Close string in example of custom lookups doc page. --- docs/ref/models/custom-lookups.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ref/models/custom-lookups.txt b/docs/ref/models/custom-lookups.txt index ec8aa72b389..f735752e0ef 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)