#NEWLINE# def form_valid( self , form ) : #NEWLINE# #INDENT# user = get_object_or_404 ( User , username = self . request . user . username ) #NEWLINE# form . instance . user = user #NEWLINE# return super ( ProjectUpdateView , self ) . form_valid ( form )