Commit ba0e658e authored by Michal Čihař's avatar Michal Čihař

Do not suggest to link static files

This can cause troubles, so stay with safer file copies.

Fixes #935
Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 43e13eb2
......@@ -308,7 +308,7 @@ The update script takes care of the following update steps as described under :r
* manage.py setupgroups --move
* manage.py setuplang
* manage.py rebuild_index --all
* manage.py collectstatic --noinput --link
* manage.py collectstatic --noinput
Bitnami Weblate stack
......
......@@ -720,9 +720,9 @@ Serving static files
framework and the setup was more complex.
Django needs to collect its static files to a single directory. To do so,
execute :samp:`./manage.py collectstatic --noinput --link`. This will store
links to static files into directory specified by ``STATIC_ROOT`` setting
(this default to ``static`` directory inside :setting:`DATA_DIR`).
execute :samp:`./manage.py collectstatic --noinput`. This will copy the static
files into directory specified by ``STATIC_ROOT`` setting (this default to
``static`` directory inside :setting:`DATA_DIR`).
It is recommended to serve static files directly by your web server, you should
use that for following paths:
......
......@@ -37,7 +37,7 @@ To collect new static files, run:
.. code-block:: sh
./manage.py collectstatic --noinput --link
./manage.py collectstatic --noinput
To upgrade default set of privileges definitions (optional), run:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment