Ticket #11965: patch_v1.diff
File patch_v1.diff, 670 bytes (added by , 15 years ago) |
---|
-
django/contrib/admin/templatetags/admin_list.py
158 158 else: 159 159 value = attr 160 160 allow_tags = getattr(attr, 'allow_tags', False) 161 boolean = getattr(attr, 'boolean', False)161 boolean = getattr(attr, 'boolean', type(value) == bool) 162 162 if boolean: 163 163 allow_tags = True 164 164 result_repr = _boolean_icon(value)