Django site as SOAP endpoint

2021-01-30 Thread Fenrir Sivar
I’m working on a project where one of the remote parties requires us to serve a SOAP api. I have plenty experience with DRF, but only found soap client examples (using The ’zeep’ module: zeep==soap in Dutch) which I use to call the SOAP api from the other party . There is django-soap-server but th

with templated-docs: how to insert images from an ImageField

2021-01-19 Thread Fenrir Sivar
I'm generating reports using (a patched for django 3x fork of) templated-docs . This module lets you create OTD templates in LibreOffice and render them to PDF inside a django view. This works great for complex documents with text, but I have no clue ho

How to securely store passwords used in backend code

2020-12-08 Thread Fenrir Sivar
I inherited a django app that calls private APIs in a view to fetch some data. The credentials or api keys are currently hardcoded in the source, making it difficult to share. What is the preferred way to store these kind of keys in a secure way only accessible to the django server? -- You receiv

using amazon aim to authenticate?

2019-03-01 Thread fenrir . sivar
I have a django site in develoment for data analysis (50-200 users world wide, all with amazon aim users accounts). django auth and django-allauth work like a charm, but I would like to know if it is possible to authenticate a django app against Amazon AIM users/roles intead of having to manage