#task_histories

This commit is contained in:
xieshen 2020-11-06 09:00:54 +08:00
parent 7b8314cb6e
commit fbc0aca0f0
1 changed files with 0 additions and 2 deletions

View File

@ -157,7 +157,6 @@ def task_histories_detail(request, pk):
except EmptyPage: except EmptyPage:
row = paginator.page(paginator.num_pages) row = paginator.page(paginator.num_pages)
res = [] res = []
print(row)
for r in row: for r in row:
o = dict() o = dict()
o['id'] = r[0] o['id'] = r[0]
@ -171,7 +170,6 @@ def task_histories_detail(request, pk):
o['data'] = output_list[1] o['data'] = output_list[1]
o['msg'] = output_list[2] o['msg'] = output_list[2]
res.append(o) res.append(o)
print(r)
return HttpResponse(json.dumps({ return HttpResponse(json.dumps({
"status":"1", "status":"1",
"res":res "res":res