Структура REST и JSON

return Response(data)  # Renders to content type as requested by the client.
Precious Panther