mirror of
https://github.com/django/django.git
synced 2024-11-30 07:06:18 +01:00
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:
parent
3322521cd6
commit
b58c55fc80
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user