aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorParker Berberian <pberberian@iol.unh.edu>2018-10-23 19:53:07 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-10-23 19:53:07 +0000
commit1f7f73937d8a397fbd6762b204dd761dd8118670 (patch)
tree642f04fff6c0495150a18fef597ff7b6d1544cdc /src
parent7fb79891b5c69020d2dfb091f2d6a56777b082d9 (diff)
parent97d62e77eb96c74dfdb697fc9f0dd92b3d4d7b46 (diff)
Merge "Fixed serialization"
Diffstat (limited to 'src')
-rw-r--r--src/api/views.py3
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())
href='#n168'>168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206