mirror of https://github.com/jumpserver/jumpserver
[Update] 修改runserver运行
parent
825edadc13
commit
8e9ad7d645
|
@ -38,8 +38,8 @@ except:
|
||||||
|
|
||||||
def make_migrations():
|
def make_migrations():
|
||||||
print("Check database change, make migrations")
|
print("Check database change, make migrations")
|
||||||
os.chdir(os.path.join(BASE_DIR, 'utils'))
|
os.chdir(os.path.join(BASE_DIR, 'apps'))
|
||||||
subprocess.call('bash make_migrations.sh', shell=True)
|
subprocess.call('python manage.py migrate', shell=True)
|
||||||
|
|
||||||
|
|
||||||
def collect_static():
|
def collect_static():
|
||||||
|
|
Loading…
Reference in New Issue