Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

newforms: Fixed Unicode issue on Python 2.3 when a BoundField's __uni…

…code__() included non-ASCII characters. Thanks for reporting the error, Johannes Froehlich

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent f6390e8 commit 54b8277ffb4cad90fb65ca4edf69d8279b8df898 @adrianholovaty adrianholovaty committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/newforms/
2  django/newforms/
@@ -99,7 +99,7 @@ def _html_output(self, normal_row, error_row, row_ender, errors_on_separate_row)
if errors_on_separate_row and bf_errors:
output.append(error_row % bf_errors)
label = bf.label and bf.label_tag(escape(bf.label + ':')) or ''
- output.append(normal_row % {'errors': bf_errors, 'label': label, 'field': bf})
+ output.append(normal_row % {'errors': bf_errors, 'label': label, 'field': unicode(bf)})
if top_errors:
output.insert(0, error_row % top_errors)
if hidden_fields: # Insert any hidden fields in the last row.

0 comments on commit 54b8277

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