Yandex_update

feature/fix_accout_not_found
Andrey 8 years ago
parent 4bef5341e0
commit bec31b7428
  1. 4
      finance/views.py

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

Loading…
Cancel
Save