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

pull/3051/head
老广 2019-07-29 17:01:27 +08:00 committed by GitHub
parent 99ce688a70
commit c6ec00e84d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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);

2
jms
View File

@ -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():