                      row_classes.append('nowrap')
          if force_text(result_repr) == '':
              result_repr = mark_safe('&nbsp;')
          # If list_display_links not defined, add the link tag to the first field
          if (first and not cl.list_display_links) or field_name in cl.list_display_links:
              table_tag = {True:'th', False:'td'}[first]
              first = False
              url = cl.url_for_result(result)
              url = add_preserved_filters({'preserved_filters': cl.preserved_filters, 'opts': cl.opts}, url)
 
</s> remove                     row_class = mark_safe(' class="nowrap"')
 </s> add                     row_classes.append('nowrap') </s> remove         should_contain = """<th><a href="%s%s/">%s</a></th>""" % (prefix, pk_final_url, escape(self.pk))
 </s> add         should_contain = """<th class="field-__str__"><a href="%s%s/">%s</a></th>""" % (prefix, pk_final_url, escape(self.pk)) </s> remove                     row_class = mark_safe(' class="nowrap"')
 </s> add                     row_classes.append('nowrap') </s> remove                     row_class = mark_safe(' class="action-checkbox"')
 </s> add                     row_classes = ['action-checkbox'] </s> remove         row_class = ''
 </s> add         row_classes = ['field-%s' % field_name]
        row_class = mark_safe(' class="%s"' % ' '.join(row_classes))
                      row_classes.append('nowrap')
          if force_text(result_repr) == '':
              result_repr = mark_safe('&nbsp;')
        row_class = mark_safe(' class="%s"' % ' '.join(row_classes))
          # If list_display_links not defined, add the link tag to the first field
          if (first and not cl.list_display_links) or field_name in cl.list_display_links:
              table_tag = {True:'th', False:'td'}[first]
              first = False
              url = cl.url_for_result(result)
              url = add_preserved_filters({'preserved_filters': cl.preserved_filters, 'opts': cl.opts}, url)
keep keep add keep keep keep keep keep keep
 Fixed #11195 -- Added CSS classes to the changelist cells to allow style customizations. Thanks to akaihola, Ramiro Morales and vdboor for their work on the patch. 
django/contrib/admin/templatetags/admin_list.py