Ticket #5811: forms.py.patch

File forms.py.patch, 691 bytes (added by Mike Maravillo <maravillo@…>, 17 years ago)

newforms patch

  • django/newforms/forms.py

     
    143143                    help_text = u''
    144144                output.append(normal_row % {'errors': force_unicode(bf_errors), 'label': force_unicode(label), 'field': unicode(bf), 'help_text': help_text})
    145145        if top_errors:
    146             output.insert(0, error_row % top_errors)
     146            output.insert(0, error_row % unicode(top_errors))
    147147        if hidden_fields: # Insert any hidden fields in the last row.
    148148            str_hidden = u''.join(hidden_fields)
    149149            if output:
Back to Top