mirror of https://github.com/django/django.git
[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:
parent
e34a54a36e
commit
e68da20596
|
@ -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%'
|
||||
|
||||
|
|
|
@ -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'
|
||||
|
||||
|
|
Loading…
Reference in New Issue