Answers for "how to get data from django session"

-1

how to get data from django session

#########    Store the data ############
request.session['idempresa'] = profile.idempresa
######## now use the data ################
if 'idempresa' in request.session:
    idempresa = request.session['idempresa']
Posted by: Guest on April-30-2021

Code answers related to "how to get data from django session"

Python Answers by Framework

Browse Popular Code Answers by Language