Fixed #28343 -- Add an OS chooser for docs command line examples.

This commit is contained in:
Ramiro Morales 2018-01-20 14:38:48 -03:00 committed by Tim Graham
parent a22ef3bb37
commit 37c17846ad
29 changed files with 1399 additions and 90 deletions

View file

@ -53,7 +53,7 @@ To simplify the process of providing optimized JavaScript code, Django
includes a handy Python script which should be used to create a "minified"
version. To run it:
.. code-block:: console
.. console::
$ pip install closure
$ python django/contrib/admin/bin/compress.py
@ -134,13 +134,13 @@ To run the tests from the command line, you need to have `Node.js`_ installed.
After installing `Node.js`, install the JavaScript test dependencies by running
the following from the root of your Django checkout:
.. code-block:: console
.. console::
$ npm install
Then run the tests with:
.. code-block:: console
.. console::
$ npm test