diff --git a/finance/views.py b/finance/views.py index 7cb1e50..684b2f1 100644 --- a/finance/views.py +++ b/finance/views.py @@ -251,7 +251,7 @@ class YandexCheckView(APIView): }) logger_yandex.info(xml_res) - return Response(xml_res, content_type='application/xml') + return HttpResponse(xml_res, content_type='application/xml') class YandexAvisoView(APIView):