summaryrefslogtreecommitdiff
path: root/docs/ref/models
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2023-12-28 19:52:15 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2023-12-28 19:53:02 +0100
commitf33eddff8ad166de2677b9ee19835f97e673ab1b (patch)
tree6bd195c23ae14004cb6cb57deec520ea80db52cc /docs/ref/models
parent454269b2e124865be49e79e0394e1485043be5f2 (diff)
[5.0.x] Corrected code-block directives in docs.
Backport of 0be6dde81721e4a61caf45422987c599ebfcfe56 from main
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 d2aeb1dcaf..63847a2328 100644
--- a/docs/ref/models/expressions.txt
+++ b/docs/ref/models/expressions.txt
@@ -757,9 +757,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!