#NEWLINE# def serialize_value( self , value ) : #NEWLINE# #INDENT# if value : #NEWLINE# #INDENT# filename = self . generate_filename ( value . name ) #NEWLINE# filename = self . storage . save ( filename , value ) #NEWLINE# return self . storage . url ( filename ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return ''