#NEWLINE# def home( request ) : #NEWLINE# #INDENT# redirect_uri = request . build_absolute_uri ( reverse ( 'connect:get_token' ) ) #NEWLINE# sign_in_url = get_signin_url ( redirect_uri ) #NEWLINE# request . session [ 'logoutUrl' ] = get_signout_url ( redirect_uri ) #NEWLINE# context = { #NEWLINE# #INDENT# 'sign_in_url' : request , #NEWLINE# #UNINDENT# } #NEWLINE# return render ( request , 'connect/connect.html' , context )