

def _boolean_icon(field_val):
    BOOLEAN_MAPPING = {
        True: 'yes',
        False: 'no',
        None: 'unknown',
    }
    return ('<img src="%simg/admin/icon-%s.gif" alt="%s" />' % (settings.ADMIN_MEDIA_PREFIX, BOOLEAN_MAPPING[field_val], field_val))

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