def get_response(self, data): json = JSONRenderer().render(data) return HttpResponse(json, content_type="application/json")