daicheng123

Results 1 comments of daicheng123

@transaction.atomic() @method_decorator(advance_logger('create a cron task by user')) def post(self, request): cron_info = request.data['cron_form'] work_id = request.data['work_id'] work_object = Cluster_workinfo.objects.get(id=work_id) task_info = { 'cluster_id': work_object.cluster_id, 'work_id': work_object.id, 'work_name': work_object.work_name } task_type...