def featured(request):
    response = HttpResponse('', content_type=
        'application/liquid; charset=utf-8')
response['Content-Length'] = len(content)
response.write('<html>test123</html>')
return response
Настройка Content-Type в объекте Django HttpResponse для приложения Shopify