Ticket #6983: 6893.diff
File 6893.diff, 585 bytes (added by , 16 years ago) |
---|
-
django/contrib/admin/views/main.py
133 133 if max([bool(f.errors()) for f in self.form_fields]): 134 134 classes.append('error') 135 135 if classes: 136 self.cell_class_attribute = u' class="%s" ' % ' '.join(classes)136 self.cell_class_attribute = mark_safe(u' class="%s" ' % ' '.join(classes)) 137 137 self._repr_filled = False 138 138 139 139 if field.rel: