﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
12136	Minor visual problem in django admin (and correction)	deltoide	nobody	"When I use callables in the 'list_display' property of the Admin class, the header columns (names of those properties) are not displayed correctly (see screenshot here: http://bit.ly/1bVz1R).
After investigating a little I found that it was because a missing property (class_attrib) of the header object:

This correction works for me (file: admin_list.py in django/contrib/admin/templatetags/, line 116):

{{{
            # It is a non-field, but perhaps one that is sortable
            admin_order_field = getattr(attr, ""admin_order_field"", None)
            if not admin_order_field:
                yield {""text"": header,
                       ""class_attrib"": """", # line added
                       }
                continue
}}}
"		closed	contrib.admin	dev		duplicate	admin contrib		Unreviewed	0	0	0	0	0	0
