diff --git a/django/newforms/forms.py b/django/newforms/forms.py index ae836ba779..4fffde3b7e 100644 --- a/django/newforms/forms.py +++ b/django/newforms/forms.py @@ -3,6 +3,7 @@ Form classes """ from django.utils.datastructures import SortedDict +from django.utils.html import escape from fields import Field from widgets import TextInput, Textarea from util import ErrorDict, ErrorList, ValidationError @@ -81,7 +82,7 @@ class Form(object): bf = BoundField(self, field, name) if bf.errors: output.append(u'