#10171: Key class_attrib missing in result_headers dict used in
change_list_results
template
-----------------------------------+----------------------------------------
Reporter: [email protected] | Owner: nobody
Status: new | Milestone:
Component: django.contrib.admin | Version: SVN
Keywords: | Stage: Unreviewed
Has_patch: 0 |
-----------------------------------+----------------------------------------
Template ''change_list_results'' required key ''class_attrib'' in
'''result_headers dict'''.
[/browser/django/trunk/django/contrib/admin/templates/admin/change_list_results.html]
{{{
{% for header in result_headers %}<th{{ header.class_attrib }}>
}}}
But function '''result_headers()''' returns only {"text": header} item
(line 112):
[/browser/django/trunk/django/contrib/admin/templatetags/admin_list.py]
{{{
#!python
if not admin_order_field:
yield {"text": header}
continue
}}}
--
Ticket URL: <http://code.djangoproject.com/ticket/10171>
Django <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
-~----------~----~----~----~------~----~------~--~---