@register.filter
def choice_id(choice):
    try:
        resp = choice[0]
    except IndexError:
        resp = ''
        pass
    return resp
Load an existing package.
dataset/ETHPy150Open adlibre/Adlibre-DMS/adlibre_dms/apps/mdtui/templatetags/index_keys.py/choice_id--crossover with--dataset/ETHPy150Open modflowpy/flopy/flopy/modflow/mfoc88.py/ModflowOc88.load