Unicode handling cleanup

This commit is contained in:
Jeremy Stretch
2016-07-18 14:48:51 -04:00
parent 7a50cd2320
commit 0d46a65a36
6 changed files with 16 additions and 16 deletions

View File

@@ -60,7 +60,7 @@ class SelectWithDisabled(forms.Select):
option_label = option_label['label']
disabled_html = ' disabled="disabled"' if option_disabled else ''
return format_html('<option value="{}"{}{}>{}</option>',
return format_html(u'<option value="{}"{}{}>{}</option>',
option_value,
selected_html,
disabled_html,