소스 검색

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

Thanks ExTexan for the report.
Yahya Ali 2 년 전
부모
커밋
263db8af46
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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'