From 25b98cdc2c91b9800f642661999d43f0bc64ea20 Mon Sep 17 00:00:00 2001 From: Andrey Date: Tue, 6 Mar 2018 13:39:15 +0300 Subject: [PATCH] Yandex_update --- finance/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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):