There are one project using Python Django, another stand alone project using python cgi. Both has it own user auth. module. What would be a simple way to merge user management together? I mean signin already built in python cgi, i want to use the same signin for python django, how i can pass authenticated user_id and username from python cgi to python django.currently i am using mysql database for both application
usually in django we will passing authenticated user as follows in views.py
user = request.user
But signin is built using python cgi, how can i pass athenticated user from python cgi to python django(views.py)
Thanks