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