summaryrefslogtreecommitdiff
path: root/docs/ref/models
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2023-12-28 19:52:15 +0100
committerGitHub <noreply@github.com>2023-12-28 19:52:15 +0100
commit0be6dde81721e4a61caf45422987c599ebfcfe56 (patch)
tree547ed4d8dbe1903253d7c88d1e446bce1ba83ff8 /docs/ref/models
parentebf9320838587fba1d7a88b303ddf216e398e6be (diff)
Corrected code-block directives in docs.
Diffstat (limited to 'docs/ref/models')
-rw-r--r--docs/ref/models/expressions.txt4
1 files changed, 1 insertions, 3 deletions
diff --git a/docs/ref/models/expressions.txt b/docs/ref/models/expressions.txt
index 4b7881ae58..9d85442d9c 100644
--- a/docs/ref/models/expressions.txt
+++ b/docs/ref/models/expressions.txt
@@ -755,9 +755,7 @@ should avoid them if possible.
your SQL with user-provided data.
You also must not quote placeholders in the SQL string. This example is
- vulnerable to SQL injection because of the quotes around ``%s``:
-
- .. code-block:: pycon
+ vulnerable to SQL injection because of the quotes around ``%s``::
RawSQL("select col from sometable where othercol = '%s'") # unsafe!