mirror of
https://github.com/django/django.git
synced 2025-08-31 15:57:45 +00:00
Fixed #28343 -- Add an OS chooser for docs command line examples.
This commit is contained in:
parent
a22ef3bb37
commit
37c17846ad
29 changed files with 1399 additions and 90 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue