doc: use "python manage.py" directly rather "tox -e manage"
According to bug 1737242, tox -e manage collectstatic/compress can fail with a customized settings file (for example, a setting which uses db backend for caching). After discussion with the bug reporter, he develops a theme using a production settings file and runs into a trouble. It looks better to use python manage.py directly to avoid further confusion. Change-Id: If34ba249745a110268cc99213cc404697b03495f Closes-Bug: #1737242
This commit is contained in:
parent
0de482077d
commit
a57d8b0e15
|
@ -66,8 +66,11 @@ theme's ``_variables.scss``::
|
|||
|
||||
@import "/themes/default/variables";
|
||||
|
||||
Once you have made your changes you must re-generate the static files with
|
||||
``tox -e manage -- collectstatic``.
|
||||
Once you have made your changes you must re-generate the static files with:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
python manage.py collectstatic
|
||||
|
||||
By default, all of the themes configured by ``AVAILABLE_THEMES`` setting are
|
||||
collected by horizon during the `collectstatic` process. By default, the themes
|
||||
|
|
|
@ -128,7 +128,7 @@ be able to use "Profile" menu, the following steps need to be completed:
|
|||
``/etc/mongod.conf`` to ``0.0.0.0`` and invoke
|
||||
``sudo service mongod restart``.
|
||||
#. Collect and compress static assets with
|
||||
``tox -e manage -- collectstatic -c`` and ``tox -e manage -- compress``
|
||||
``python manage.py collectstatic -c`` and ``python manage.py compress``
|
||||
#. Restart the web server.
|
||||
#. The "Profile" drop-down menu should appear in the top-right corner, you are
|
||||
ready to profile your pages!
|
||||
|
|
Loading…
Reference in New Issue