#task_histories
This commit is contained in:
parent
fe2162ad68
commit
36f0c44572
|
@ -106,8 +106,6 @@ def task_histories(request):
|
|||
# o['run_time'] = r[3]
|
||||
# o['output'] = r[4][1:-1]
|
||||
# data.append(o)
|
||||
print(task_id)
|
||||
|
||||
for id in list(set(task_id)):
|
||||
with connection.cursor() as cursor:
|
||||
cursor.execute(
|
||||
|
@ -125,7 +123,6 @@ def task_histories(request):
|
|||
with connection.cursor() as cursor1:
|
||||
cursor1.execute("select * from tasks where id = '%s'" % (id))
|
||||
row1 = cursor1.fetchall()
|
||||
print(row1)
|
||||
for r1 in row1:
|
||||
o1 = dict()
|
||||
o1['name'] = r1[1]
|
||||
|
|
Loading…
Reference in New Issue