update some user api

This commit is contained in:
ibuler
2016-11-09 23:49:10 +08:00
parent c5d625e261
commit 47090eb0f7
14 changed files with 102 additions and 108 deletions

View File

@@ -28,6 +28,7 @@ def start_django():
def start_celery():
os.chdir(apps_dir)
os.environ.setdefault('C_FORCE_ROOT', '1')
print('start celery')
subprocess.call('celery -A common worker -l info', shell=True)