From 602774a390d0c7c37a53056284f3db832b694c9a Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Mon, 3 Jun 2019 20:37:18 -0400 Subject: [PATCH] Add note about the new preparestatic command Signed-off-by: Roberto Rosario --- HISTORY.rst | 1 + docs/releases/3.2.rst | 7 ++++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/HISTORY.rst b/HISTORY.rst index b61f4cb35e..a791c614c7 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -275,6 +275,7 @@ * Remove repeated EMAIL_TIMEOUT setting. * Invert order to the Action Object and Target columns for clarity. +* Add note about the new preparestatic command. 3.1.11 (2019-04-XX) =================== diff --git a/docs/releases/3.2.rst b/docs/releases/3.2.rst index 14df89eae7..b696230b8a 100644 --- a/docs/releases/3.2.rst +++ b/docs/releases/3.2.rst @@ -781,7 +781,7 @@ Migrate existing database schema with:: Add new static media:: - $ mayan-edms.py collectstatic --noinput + $ mayan-edms.py preparestatic --noinput The upgrade procedure is now complete. @@ -835,6 +835,11 @@ Backward incompatible changes way, but ``preparestatic`` has a default backlist to avoid collecting test files. +- Instead of the ``collectstatic``, the new ``preparestatic`` command should be + used. ``preparestatic`` is a wrapper for ``collectstatic`` that includes + a pattern list of files that are not to be collected for production. Files + from tests, development setup, demos are ignored using this command. + Bugs fixed or issues closed ---------------------------