[Django]-How can I use Basic Authentication with Spyne in Django?

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(),
))

Leave a comment