DEV Community

Muhammad Ismail Zam Zam
Muhammad Ismail Zam Zam

Posted on

How to create/handle multiple sessions in python (django framework) having common files in the backend.

Dear Community members,

I need your guidance for my application,

I'm creating an application on django framework and using the rest api. In the backend, I'm using the ansible playbooks which is also importing variable and inventory files. For single request, its working good. My mind get stuck that how I would handle the multiple request to get the right responses because in the backend there are same playbook executing with modified import files. One approach could be at every request, I make a new copy of all of the files with some changes. I hope you can understand it. Sorry, I'm not a professional developer but looking for some automation solutions. Please guide me.

Top comments (0)