[4.2.x] Fixed #34463 -- Corrected code-block directives in docs.

Thanks ExTexan for the report.
Backport of 263db8af46 from main
This commit is contained in:
Yahya Ali 2023-04-06 16:08:12 +05:00 committed by Mariusz Felisiak
parent e34a54a36e
commit e68da20596
2 changed files with 2 additions and 2 deletions

View File

@ -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%'

View File

@ -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'