@register.filter
def get_class_field(object, fieldname):
    
    return getattr(object.__class__, fieldname)
return getattr(object.__class__, fieldname)
dataset/ETHPy150Open fp7-ofelia/ocf/optin_manager/src/python/openflow/common/utils/templatetags/ch_extras.py/get_class_field