summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorYahya Ali <yahya.ali@arbisoft.com>2023-04-06 16:08:12 +0500
committerGitHub <noreply@github.com>2023-04-06 13:08:12 +0200
commit263db8af469f0f3a5bd8ddc4a7dd0154c3d1fbca (patch)
treee3b1da0c0b11895840a9c705a7f67d6eb6ed5182 /docs
parentbdf59bff657975e577b86b194b39ec2f77983d2b (diff)
Fixed #34463 -- Corrected code-block directives in docs.
Thanks ExTexan for the report.
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/db/queries.txt2
-rw-r--r--docs/topics/i18n/translation.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/topics/db/queries.txt b/docs/topics/db/queries.txt
index 03708c35c8..b33530bc88 100644
--- a/docs/topics/db/queries.txt
+++ b/docs/topics/db/queries.txt
@@ -1368,7 +1368,7 @@ For example, this statement yields a single ``Q`` object that represents the
This is equivalent to the following SQL ``WHERE`` clause:
-.. code-block: sql
+.. code-block:: sql
WHERE question LIKE 'Who%' OR question LIKE 'What%'
diff --git a/docs/topics/i18n/translation.txt b/docs/topics/i18n/translation.txt
index 6eaf9cae32..555d4cf70a 100644
--- a/docs/topics/i18n/translation.txt
+++ b/docs/topics/i18n/translation.txt
@@ -264,7 +264,7 @@ In a case like this, consider something like the following::
You would get an error when running :djadmin:`django-admin
compilemessages <compilemessages>`:
- .. code-block: pytb
+ .. code-block:: pytb
a format specification for argument 'name', as in 'msgstr[0]', doesn't exist in 'msgid'