#8398: Admin lists aren't showing non-field columns in table header
-----------------------------+----------------------------------------------
Reporter: marinho | Owner: nobody
Status: new | Milestone: 1.0
Component: Admin interface | Version: SVN
Keywords: | Stage: Unreviewed
Has_patch: 0 |
-----------------------------+----------------------------------------------
When declared a method in list_display attribute of a ModelAdmin class,
this column header (TH) is shown in result list of change_list_result.html
with an error and this make it hidden, as follows:
{{{
<th<font color='red'>header.class_attrib</font>>
}}}
this line must have an {% if %} consistence around
'''header.class_attrib''':
{{{
{% for header in result_headers %}<th{{ header.class_attrib }}>
}}}
--
Ticket URL: <http://code.djangoproject.com/ticket/8398>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---