def get_field_value(self, field, value_verbose=True):
if not value_verbose:<EOL><INDENT>"""<STR_LIT>"""<EOL>value = field._get_val_from_obj(self)<EOL><DEDENT>else:<EOL><INDENT>if isinstance(field, ForeignKey):<EOL><INDENT>value = getattr(self, field.name)<EOL><DEDENT>else:<EOL><INDENT>try:<EOL><INDENT>value =  self._get_FIELD_display(field)<EOL><DEDENT>except :<EOL><INDENT>value = field._get_val_from_obj(self)<EOL><DEDENT><DEDENT><DEDENT>if(value == True or value == False or isinstance(value, (int, float))):<EOL><INDENT>return value<EOL><DEDENT>return unicode(value)<EOL>
返回显示的值，而不是单纯的数据库中的值
field  是model中的field type
value_verbose 为True，返回数据的显示数据，会转换为choice的内容，
如果value_verbose 为False， 返回数据的实际值