Commit b73fd0bb authored by 王英豪's avatar 王英豪

log2

parent 5e0b254d
...@@ -31,8 +31,7 @@ class PersonnelAllocationView(View): ...@@ -31,8 +31,7 @@ class PersonnelAllocationView(View):
logger.info('222222222222') logger.info('222222222222')
logger.info(ENV_PROFILE) logger.info(ENV_PROFILE)
logger.info('222222222222') logger.info('222222222222')
try:
if 'color' in data.keys(): if 'color' in data.keys():
TestingProgress.objects.create(testing_progress_title=data['text'], TestingProgress.objects.create(testing_progress_title=data['text'],
...@@ -51,6 +50,13 @@ class PersonnelAllocationView(View): ...@@ -51,6 +50,13 @@ class PersonnelAllocationView(View):
testing_progress='', testing_progress='',
type='', type='',
description='') description='')
except Exception as e:
logger.info('33333333')
print(e)
logger.info('33333333')
pass
return response_success("创建成功") return response_success("创建成功")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment