              result_repr = EMPTY_CHANGELIST_VALUE
          else:
              if f is None:
                  if field_name == 'action_checkbox':
                      row_class = mark_safe(' class="action-checkbox"')
                  allow_tags = getattr(attr, 'allow_tags', False)
                  boolean = getattr(attr, 'boolean', False)
                  if boolean:
                      allow_tags = True
                  result_repr = display_for_value(value, boolean)
 
</s> remove                     row_class = mark_safe(' class="nowrap"')
 </s> add                     row_classes.append('nowrap') </s> remove                     row_class = mark_safe(' class="nowrap"')
 </s> add                     row_classes.append('nowrap') </s> remove         row_class = ''
 </s> add         row_classes = ['field-%s' % field_name] </s> remove         row_html = '<tbody><tr class="row1"><th><a href="%s">name</a></th><td class="nowrap">(None)</td></tr></tbody>' % link
 </s> add         row_html = '<tbody><tr class="row1"><th class="field-name"><a href="%s">name</a></th><td class="field-parent nowrap">(None)</td></tr></tbody>' % link
                    row_classes = ['action-checkbox']
              result_repr = EMPTY_CHANGELIST_VALUE
          else:
              if f is None:
                  if field_name == 'action_checkbox':
                    row_classes = ['action-checkbox']
                  allow_tags = getattr(attr, 'allow_tags', False)
                  boolean = getattr(attr, 'boolean', False)
                  if boolean:
                      allow_tags = True
                  result_repr = display_for_value(value, boolean)
keep keep keep keep replace 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