diff options
author | Parker Berberian <pberberian@iol.unh.edu> | 2018-10-23 19:53:07 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-10-23 19:53:07 +0000 |
commit | 1f7f73937d8a397fbd6762b204dd761dd8118670 (patch) | |
tree | 642f04fff6c0495150a18fef597ff7b6d1544cdc /src | |
parent | 7fb79891b5c69020d2dfb091f2d6a56777b082d9 (diff) | |
parent | 97d62e77eb96c74dfdb697fc9f0dd92b3d4d7b46 (diff) |
Merge "Fixed serialization"
Diffstat (limited to 'src')
-rw-r--r-- | src/api/views.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/api/views.py b/src/api/views.py index cefd131..072354f 100644 --- a/src/api/views.py +++ b/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()) |