Update use of collectstatic to preparestatic

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2019-05-24 23:16:37 -04:00
parent 56c8e2741b
commit 3346a88f81
4 changed files with 7 additions and 3 deletions

View File

@@ -829,6 +829,10 @@ Backward incompatible changes
ImportError: No module named ocr.backends.pyocr
- To collect and compress the static media files, use the new ``preparestatic``
command instead of the traditional ``collectstatic``. Both work the same
way, but ``preparestatic`` has a default backlist to avoid collecting
test files.
Bugs fixed or issues closed
---------------------------

View File

@@ -148,7 +148,7 @@ Django's development server doesn't serve static files unless the DEBUG option
is set to True, this mode of operation should only be used for development or
testing. For production deployments the management command::
$ mayan-edms.py collectstatic
$ mayan-edms.py preparestatic
should be used and the resulting static folder served from a webserver.
For more information check the