

def filter(cl, spec):
    return {
        'title': spec.title(),
        'choices': list(spec.choices(cl)),
    }

dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-0.96/django/contrib/admin/templatetags/admin_list.py filter/original