1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00

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

Thanks ExTexan for the report.
This commit is contained in:
Yahya Ali 2023-04-06 16:08:12 +05:00 committed by GitHub
parent bdf59bff65
commit 263db8af46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

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

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'