django add session to model code example Example: django set session variable request.session['idempresa'] = idempresaValue