1👍
it can be simply
jsondata = json.dumps(dict)
return HttpResponse(jsondata, content_type='application/json')
Source:stackexchange.com
1👍
it can be simply
jsondata = json.dumps(dict)
return HttpResponse(jsondata, content_type='application/json')