Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

newforms: Same fix as [4174], except for Form.as_table()

git-svn-id: http://code.djangoproject.com/svn/django/trunk@4176 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 3d1ceab1aa894d522af614b1a2f6f77e4b4571a6 1 parent 300f26d
@adrianholovaty adrianholovaty authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/newforms/forms.py
View
2  django/newforms/forms.py
@@ -82,7 +82,7 @@ def as_table(self):
if bf.is_hidden:
if bf_errors:
top_errors.extend(['(Hidden field %s) %s' % (name, e) for e in bf_errors])
- hidden_fields.append(str(bf))
+ hidden_fields.append(unicode(bf))
else:
if bf_errors:
output.append(u'<tr><td colspan="2">%s</td></tr>' % bf_errors)
Please sign in to comment.
Something went wrong with that request. Please try again.