6👍
You could try
foo_view = csrf_exempt(foo_view)
below the definition of foo_view. Then you don’t need the crsf_exempt around the other
caps_web_service = DjangoApplication(Application(
[CapsWebService], 'solutions.sfcs', in_protocol=Soap11(), out_protocol=Soap11(), interface=Wsdl11(),
))
Source:stackexchange.com