Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
Malcolm Tredinnick authored November 14, 2007

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  django/contrib/admin/views/main.py
2  django/contrib/admin/views/main.py
@@ -159,7 +159,7 @@ def __repr__(self):
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:

0 notes on commit b58c55f

Please sign in to comment.
Something went wrong with that request. Please try again.