1
0
mirror of https://github.com/django/django.git synced 2025-11-07 07:15:35 +00:00

[1.7.x] Fixed #24358 -- Corrected code-block directives for console sessions.

Backport of eba6dff581 from master
This commit is contained in:
Sean Wang
2015-02-18 19:19:21 -08:00
committed by Tim Graham
parent c231ec1af0
commit a3f7b034d7
14 changed files with 65 additions and 65 deletions

View File

@@ -556,7 +556,7 @@ need to reload your data. Do this after you have made the change to using
To upgrade each application to use a ``DecimalField``, you can do the
following, replacing ``<app>`` in the code below with each app's name:
.. code-block:: bash
.. code-block:: console
$ ./manage.py dumpdata --format=xml <app> > data-dump.xml
$ ./manage.py reset <app>
@@ -685,13 +685,13 @@ Subcommands must now precede options
``django-admin.py`` and ``manage.py`` now require subcommands to precede
options. So:
.. code-block:: bash
.. code-block:: console
$ django-admin.py --settings=foo.bar runserver
...no longer works and should be changed to:
.. code-block:: bash
.. code-block:: console
$ django-admin.py runserver --settings=foo.bar