#NEWLINE# def dispatch( self , request , * args , **kwargs ) : #NEWLINE# #INDENT# 'Dispatch the UserUpdateView View' #NEWLINE# self . object = self . get_object ( ) #NEWLINE# if ( ( self . object != request . user ) and ( not request . user . has_perm ( 'accounts.change_user' ) ) ) : #NEWLINE# #INDENT# raise Http404 #NEWLINE# #UNINDENT# return super ( UserUpdateView , self ) . dispatch ( request , * args , ** kwargs )