Fixed #5944 -- Added safe string markings to admin error messages in one place

that was missed.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6675 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Malcolm Tredinnick 2007-11-14 22:58:24 +00:00
parent 3322521cd6
commit b58c55fc80
1 changed files with 1 additions and 1 deletions

View File

@ -159,7 +159,7 @@ class AdminBoundField(object):
return repr(self.__dict__)
def html_error_list(self):
return " ".join([form_field.html_error_list() for form_field in self.form_fields if form_field.errors])
return mark_safe(" ".join([form_field.html_error_list() for form_field in self.form_fields if form_field.errors]))
def original_url(self):
if self.is_file_field and self.original and self.field.attname: