How to JSON serialize __dict__ of a Django model?,"return HttpResponse(json.dumps(data), content_type='application/json')"