Ticket #6078: 6078.patch
File 6078.patch, 703 bytes (added by , 17 years ago) |
---|
-
django/contrib/admin/templatetags/admin_list.py
185 185 else: 186 186 result_repr = escape(field_val) 187 187 if force_unicode(result_repr) == '': 188 result_repr = ' '188 result_repr = mark_safe(' ') 189 189 # If list_display_links not defined, add the link tag to the first field 190 190 if (first and not cl.list_display_links) or field_name in cl.list_display_links: 191 191 table_tag = {True:'th', False:'td'}[first]