diff options
| author | Yahya Ali <yahya.ali@arbisoft.com> | 2023-04-06 16:08:12 +0500 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2023-04-06 13:08:44 +0200 |
| commit | e68da20596847d6c165183bca52ebba570ccfdaa (patch) | |
| tree | 176791853485e4363983e88aa4211f3615b5aa75 | |
| parent | e34a54a36e2d7b35e8998fe60462e93a1a5424cf (diff) | |
[4.2.x] Fixed #34463 -- Corrected code-block directives in docs.
Thanks ExTexan for the report.
Backport of 263db8af469f0f3a5bd8ddc4a7dd0154c3d1fbca from main
| -rw-r--r-- | docs/topics/db/queries.txt | 2 | ||||
| -rw-r--r-- | docs/topics/i18n/translation.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/topics/db/queries.txt b/docs/topics/db/queries.txt index 049df3ccd6..7c6c9e18ac 100644 --- a/docs/topics/db/queries.txt +++ b/docs/topics/db/queries.txt @@ -1376,7 +1376,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' |
