#NEWLINE# @ login_required #NEWLINE# def profile_page( request , user_id ) : #NEWLINE# #INDENT# data = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# user = get_object_or_404 ( get_user_model ( ) , pk = user_id ) #NEWLINE# data [ 'user_profile' ] = user #NEWLINE# data [ 'user_executions' ] = Execution . get_inline_by_user ( data . id ) #NEWLINE# return render ( request , 'page/profile.html' , data )