mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Fixed #28343 -- Add an OS chooser for docs command line examples.
This commit is contained in:
committed by
Tim Graham
parent
a22ef3bb37
commit
37c17846ad
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user