@register.filter<EOL>def get_verbose(obj, field_name="<STR_LIT>"):
if hasattr(obj, "<STR_LIT>") and hasattr(obj._meta, "<STR_LIT>"):<EOL><INDENT>try:<EOL><INDENT>return obj._meta.get_field(field_name).verbose_name<EOL><DEDENT>except FieldDoesNotExist:<EOL><INDENT>pass<EOL><DEDENT><DEDENT>return "<STR_LIT>"<EOL>
Returns the verbose name of an object's field.

:param obj: A model instance.
:param field_name: The requested field value in string format.