#NEWLINE# def value_to_string( self , obj ) : #NEWLINE# #INDENT# 'Return value from object converted to string properly' #NEWLINE# return smart_text ( self . get_prep_value ( self . _get_val_from_obj ( self ) ) )