mirror of https://github.com/jumpserver/jumpserver
[Update] 修改collect static file机制 (#3044)
parent
99ce688a70
commit
c6ec00e84d
|
@ -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);
|
||||||
|
|
2
jms
2
jms
|
@ -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():
|
||||||
|
|
Loading…
Reference in New Issue