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 `: - .. code-block: pytb + .. code-block:: pytb a format specification for argument 'name', as in 'msgstr[0]', doesn't exist in 'msgid'