summaryrefslogtreecommitdiff
path: root/docs/ref/models
diff options
context:
space:
mode:
Diffstat (limited to 'docs/ref/models')
-rw-r--r--docs/ref/models/custom-lookups.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/models/custom-lookups.txt b/docs/ref/models/custom-lookups.txt
index 38608180f1..b800897712 100644
--- a/docs/ref/models/custom-lookups.txt
+++ b/docs/ref/models/custom-lookups.txt
@@ -233,8 +233,8 @@ to this API.
execute the query.
Calling expression.as_sql() directly is usually incorrect - instead
- qn.compile(expression) should be used. The qn.compile() method will take
- care of calling vendor-specific methods of the expression.
+ ``qn.compile(expression)`` should be used. The ``qn.compile()`` method will
+ take care of calling vendor-specific methods of the expression.
.. method:: get_lookup(lookup_name)