Ticket #5811: forms.py.patch
File forms.py.patch, 691 bytes (added by , 17 years ago) |
---|
-
django/newforms/forms.py
143 143 help_text = u'' 144 144 output.append(normal_row % {'errors': force_unicode(bf_errors), 'label': force_unicode(label), 'field': unicode(bf), 'help_text': help_text}) 145 145 if top_errors: 146 output.insert(0, error_row % top_errors)146 output.insert(0, error_row % unicode(top_errors)) 147 147 if hidden_fields: # Insert any hidden fields in the last row. 148 148 str_hidden = u''.join(hidden_fields) 149 149 if output: