#NEWLINE# def _save_FIELD_file( self , field , filename , raw_contents , save = True ) : #NEWLINE# #INDENT# original_upload_to = filename . upload_to #NEWLINE# field . upload_to = ( '%s/%s' % ( self . media_type , field . upload_to ) ) #NEWLINE# super ( Media , self ) . _save_FIELD_file ( field , filename , raw_contents , save ) #NEWLINE# field . upload_to = original_upload_to