@register.simple_tag(takes_context=True)
def get_class(context, field, obj=None):
    view = context['view']
    return view.lookup_field_class(field, obj, "field_" + field)
Looks up the class for this field
dataset/ETHPy150Open nyaruka/smartmin/smartmin/templatetags/smartmin.py/get_class