Ticket #3344: 4700-UnicodeEncodeError-newforms.diff
File 4700-UnicodeEncodeError-newforms.diff, 762 bytes (added by , 18 years ago) |
---|
-
django/newforms/forms.py
126 126 help_text = help_text_html % field.help_text 127 127 else: 128 128 help_text = u'' 129 output.append(normal_row % {'errors': bf_errors, 'label': label, 'field': unicode(bf), 'help_text': help_text}) 129 130 output.append(normal_row % {'errors': unicode(bf_errors), 'label': unicode(label), 'field': unicode(bf), 'help_text': help_text}) 130 131 if top_errors: 131 132 output.insert(0, error_row % top_errors) 132 133 if hidden_fields: # Insert any hidden fields in the last row.