diff options
author | 2018-10-23 19:53:07 +0000 | |
---|---|---|
committer | 2018-10-23 19:53:07 +0000 | |
commit | ee512c69235d3aa7794185946c8f752793ef3328 (patch) | |
tree | 23471a5e6bf2229d594e831aff861c301b09d3ce | |
parent | 08a9025677df43d7e1e45c6e67673f4ac122ec4c (diff) | |
parent | 7408d145f6c4a1c231a6fdfa08a174abdb8aaae4 (diff) |
Merge "Fixed serialization"
-rw-r--r-- | dashboard/src/api/views.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/dashboard/src/api/views.py b/dashboard/src/api/views.py index cefd131..072354f 100644 --- a/dashboard/src/api/views.py +++ b/dashboard/src/api/views.py @@ -94,8 +94,7 @@ def specific_task(request, lab_name="", job_id="", task_id=""): m['job'] = str(task.job) m['message'] = task.message d['meta'] = m - response = json.dumps(d) - return JsonResponse(response) + return JsonResponse(d, safe=False) elif request.method == "GET": return JsonResponse(get_task(task_id).config.get_delta()) |