diff options
Diffstat (limited to 'django/forms/forms.py')
| -rw-r--r-- | django/forms/forms.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/django/forms/forms.py b/django/forms/forms.py index 85f68e56eb..caf4617c22 100644 --- a/django/forms/forms.py +++ b/django/forms/forms.py @@ -225,14 +225,14 @@ class BaseForm: label = '' if field.help_text: - help_text = help_text_html % force_text(field.help_text) + help_text = help_text_html % field.help_text else: help_text = '' output.append(normal_row % { - 'errors': force_text(bf_errors), - 'label': force_text(label), - 'field': str(bf), + 'errors': bf_errors, + 'label': label, + 'field': bf, 'help_text': help_text, 'html_class_attr': html_class_attr, 'css_classes': css_classes, @@ -240,7 +240,7 @@ class BaseForm: }) if top_errors: - output.insert(0, error_row % force_text(top_errors)) + output.insert(0, error_row % top_errors) if hidden_fields: # Insert any hidden fields in the last row. str_hidden = ''.join(hidden_fields) |
