#NEWLINE# def profile_edit( request , username , edit_profile_form = None ) : #NEWLINE# #INDENT# if ( request . user . is_authenticated ( ) and ( edit_profile_form . user . username == username ) ) : #NEWLINE# #INDENT# return userena_profile_edit ( request , username = username , edit_profile_form = edit_profile_form ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return HttpResponseRedirect ( reverse ( 'profile_public' , kwargs = { #NEWLINE# #INDENT# 'username' : username , #NEWLINE# #UNINDENT# } ) )