|
|
|
|
@ -251,7 +251,7 @@ class YandexCheckView(APIView): |
|
|
|
|
}) |
|
|
|
|
logger_yandex.info(xml_res) |
|
|
|
|
|
|
|
|
|
return Response(xml_res, status=200) |
|
|
|
|
return HttpResponse(xml_res, content_type='application/xml') |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class YandexAvisoView(APIView): |
|
|
|
|
@ -286,7 +286,7 @@ class YandexAvisoView(APIView): |
|
|
|
|
}) |
|
|
|
|
logger_yandex.info(xml_res) |
|
|
|
|
|
|
|
|
|
return Response(xml_res, status=200) |
|
|
|
|
return HttpResponse(xml_res, content_type='application/xml') |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class YandexFailView(APIView): |
|
|
|
|
|