diff --git a/sigi/apps/diagnosticos/views.py b/sigi/apps/diagnosticos/views.py index e5acecb..c6692fa 100644 --- a/sigi/apps/diagnosticos/views.py +++ b/sigi/apps/diagnosticos/views.py @@ -330,7 +330,7 @@ def grafico_api(request): # elif pergunta.datatype == 'many': - jsonn = json.dumps(list_perguntas, sort_keys=True, indent=4, separators=(',', ': ')) + jsonn = simplejson.dumps(list_perguntas, sort_keys=True, indent=4, separators=(',', ': ')) return HttpResponse(jsonn, content_type="application/json")