#task_histories
This commit is contained in:
parent
7b8314cb6e
commit
fbc0aca0f0
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue