[Update] 修改注册流程

This commit is contained in:
ibuler
2017-12-25 12:22:49 +08:00
parent 8b081cd6b0
commit f4beccddae
11 changed files with 65 additions and 20 deletions

View File

@@ -21,6 +21,11 @@ DEBUG = CONFIG.DEBUG
LOG_LEVEL = CONFIG.LOG_LEVEL
WORKERS = 4
try:
os.makedirs(os.path.join(BASE_DIR, "data", "static"))
os.makedirs(os.path.join(BASE_DIR, "data", "media"))
except:
pass
def start_gunicorn():
print("# Start Gunicorn WSGI HTTP Server")