#NEWLINE# def save( self , name , content , save = True ) : #NEWLINE# #INDENT# name = self . field . generate_filename ( self . instance , name ) #NEWLINE# self . name = self . storage . save ( name , name ) #NEWLINE# setattr ( self . instance , self . field . name , self . name ) #NEWLINE# self . _size = content . size #NEWLINE# self . _committed = True #NEWLINE# if save : #NEWLINE# #INDENT# self . instance . save ( )