Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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
  • Loading branch information...
commit b58c55fc8063f31ca1eb141dd4b3b19f4be1dcb9 1 parent 3322521
@malcolmt malcolmt authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/contrib/admin/views/main.py
View
2  django/contrib/admin/views/main.py
@@ -159,7 +159,7 @@ def __repr__(self):
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:
Please sign in to comment.
Something went wrong with that request. Please try again.