Update login error message

This commit is contained in:
ibuler
2016-09-03 00:39:06 +08:00
parent b8bebc9b64
commit 10d51ada37
9 changed files with 120 additions and 15 deletions

View File

@@ -19,8 +19,8 @@ apps_dir = os.path.join(BASE_DIR, 'apps')
def start_django():
http_host = CONFIG.HTTP_BIND_HOST or 'locahost'
http_port = CONFIG.HTTP_LISTEN_HOST or '8080'
http_host = CONFIG.HTTP_LISTEN_HOST or 'locahost'
http_port = CONFIG.HTTP_LISTEN_PORT or '8080'
os.chdir(apps_dir)
print('start django')
subprocess.call('python ./manage.py runserver %s:%s' % (http_host, http_port), shell=True)