@register.filter
def field_type(field):
    return field.field.__class__.__name__
Returns field type in 'str'
dataset/ETHPy150Open adlibre/Adlibre-DMS/adlibre_dms/apps/mdtui/templatetags/index_keys.py/field_type