Permalink
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...
1 parent 300f26d commit 3d1ceab1aa894d522af614b1a2f6f77e4b4571a6 @adrianholovaty adrianholovaty committed Dec 7, 2006
Showing with 1 addition and 1 deletion.
  1. +1 −1 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)

0 comments on commit 3d1ceab

Please sign in to comment.