From c6ec00e84d81cb7af41200632baa1b67b874b600 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=81=E5=B9=BF?= Date: Mon, 29 Jul 2019 17:01:27 +0800 Subject: [PATCH] =?UTF-8?q?[Update]=20=E4=BF=AE=E6=94=B9collect=20static?= =?UTF-8?q?=20file=E6=9C=BA=E5=88=B6=20(#3044)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/users/templates/users/_granted_assets.html | 2 +- jms | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/users/templates/users/_granted_assets.html b/apps/users/templates/users/_granted_assets.html index 4214aee93..31da3cd8b 100644 --- a/apps/users/templates/users/_granted_assets.html +++ b/apps/users/templates/users/_granted_assets.html @@ -156,7 +156,7 @@ function loadLabels() { } $(document).ready(function () { - loadLabels() + {#loadLabels()#} }).on('click', '.labels-menu li', function () { var val = $(this).text(); $("#user_assets_table_filter input").val(val); diff --git a/jms b/jms index 43c345406..d57c31e11 100755 --- a/jms +++ b/jms @@ -81,7 +81,7 @@ def make_migrations(): def collect_static(): print("Collect static files") os.chdir(os.path.join(BASE_DIR, 'apps')) - subprocess.call('python3 manage.py collectstatic --no-input', shell=True) + subprocess.call('python3 manage.py collectstatic --no-input -c &> /dev/null && echo "Collect static file done"', shell=True) def prepare():