Ticket #5988: admin_errors.diff
File admin_errors.diff, 650 bytes (added by , 17 years ago) |
---|
-
django/contrib/admin/views/main.py
159 159 return repr(self.__dict__) 160 160 161 161 def html_error_list(self): 162 return " ".join([form_field.html_error_list() for form_field in self.form_fields if form_field.errors])162 return mark_safe(" ".join([form_field.html_error_list() for form_field in self.form_fields if form_field.errors])) 163 163 164 164 def original_url(self): 165 165 if self.is_file_field and self.original and self.field.attname: