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