mirror of
https://github.com/django/django.git
synced 2025-10-24 22:26:08 +00:00
[4.2.x] Refs #34140 -- Applied rst code-block to non-Python examples.
Thanks to J.V. Zammit, Paolo Melchiorre, and Mariusz Felisiak for
reviews.
Backport of 534ac48297 from main.
This commit is contained in:
committed by
Mariusz Felisiak
parent
4a89aa25c9
commit
b784768eef
@@ -12,7 +12,9 @@ command for the ``polls`` application from the
|
||||
|
||||
To do this, add a ``management/commands`` directory to the application. Django
|
||||
will register a ``manage.py`` command for each Python module in that directory
|
||||
whose name doesn't begin with an underscore. For example::
|
||||
whose name doesn't begin with an underscore. For example:
|
||||
|
||||
.. code-block:: text
|
||||
|
||||
polls/
|
||||
__init__.py
|
||||
|
||||
Reference in New Issue
Block a user