mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
[1.7.x] Fixed #24358 -- Corrected code-block directives for console sessions.
Backport of eba6dff581 from master
This commit is contained in:
@@ -24,7 +24,7 @@ The uWSGI wiki describes several `installation procedures`_. Using pip, the
|
||||
Python package manager, you can install any uWSGI version with a single
|
||||
command. For example:
|
||||
|
||||
.. code-block:: bash
|
||||
.. code-block:: console
|
||||
|
||||
# Install current stable version.
|
||||
$ sudo pip install uwsgi
|
||||
|
||||
@@ -25,7 +25,7 @@ http://www.reportlab.com/software/opensource/rl-toolkit/download/.
|
||||
The `user guide`_ (not coincidentally, a PDF file) explains how to install it.
|
||||
Alternatively, you can also install it with ``pip``:
|
||||
|
||||
.. code-block:: bash
|
||||
.. code-block:: console
|
||||
|
||||
$ sudo pip install reportlab
|
||||
|
||||
|
||||
@@ -52,7 +52,7 @@ might want to set up a new environment with all the dependencies first.
|
||||
Exactly which steps you will need to take depends on your installation process.
|
||||
The most convenient way is to use pip_ with the ``--upgrade`` or ``-U`` flag:
|
||||
|
||||
.. code-block:: bash
|
||||
.. code-block:: console
|
||||
|
||||
$ pip install -U Django
|
||||
|
||||
@@ -74,7 +74,7 @@ warnings are silenced by default. It is useful to turn the warnings on so they
|
||||
are shown in the test output (you can also use the flag if you test your app
|
||||
manually using ``manage.py runserver``):
|
||||
|
||||
.. code-block:: bash
|
||||
.. code-block:: console
|
||||
|
||||
$ python -Wall manage.py test
|
||||
|
||||
|
||||
Reference in New Issue
Block a user