Unverified Commit c6ec00e8 authored by 老广's avatar 老广 Committed by GitHub

[Update] 修改collect static file机制 (#3044)

parent 99ce688a
...@@ -156,7 +156,7 @@ function loadLabels() { ...@@ -156,7 +156,7 @@ function loadLabels() {
} }
$(document).ready(function () { $(document).ready(function () {
loadLabels() {#loadLabels()#}
}).on('click', '.labels-menu li', function () { }).on('click', '.labels-menu li', function () {
var val = $(this).text(); var val = $(this).text();
$("#user_assets_table_filter input").val(val); $("#user_assets_table_filter input").val(val);
......
...@@ -81,7 +81,7 @@ def make_migrations(): ...@@ -81,7 +81,7 @@ def make_migrations():
def collect_static(): def collect_static():
print("Collect static files") print("Collect static files")
os.chdir(os.path.join(BASE_DIR, 'apps')) 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(): def prepare():
......
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