Browse Source

Fixed #34463 -- Corrected code-block directives in docs.

Thanks ExTexan for the report.
Yahya Ali 1 year ago
parent
commit
263db8af46
2 changed files with 2 additions and 2 deletions
  1. 1 1
      docs/topics/db/queries.txt
  2. 1 1
      docs/topics/i18n/translation.txt

+ 1 - 1
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%'
 

+ 1 - 1
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'