0
0
mirror of https://github.com/django/django.git synced 2024-11-29 22:56:46 +01:00

Fixes #21864: Close string in example of custom lookups doc page.

This commit is contained in:
Chris Barna 2014-01-23 10:11:15 -05:00
parent 12303ab738
commit 7d9014864c

View File

@ -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)