@register.filter
def choice_name(choice):
    """
    Returns Choice type field's choice Name (Text) for form rendering
    """
    try:
        resp = choice[1]
    except __HOLE__:
        resp = ''
        pass
    return resp
dataset/ETHPy150Open adlibre/Adlibre-DMS/adlibre_dms/apps/mdtui/templatetags/index_keys.py/choice_name