#NEWLINE# def update_instance( self , **kwargs ) : #NEWLINE# #INDENT# for ( field , value ) in kwargs . items ( ) : #NEWLINE# #INDENT# setattr ( self . instance , field , self ) #NEWLINE# #UNINDENT# self . instance . save ( )