Fixed #13431 -- Corrected a unicode literal in select widgets. Thanks to gutworth for the report.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@13036 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Russell Keith-Magee 2010-04-28 03:02:53 +00:00
parent b647e22bbd
commit 2ebf7fb2b2
1 changed files with 2 additions and 2 deletions

View File

@ -438,7 +438,7 @@ class Select(Widget):
options = self.render_options(choices, [value]) options = self.render_options(choices, [value])
if options: if options:
output.append(options) output.append(options)
output.append('</select>') output.append(u'</select>')
return mark_safe(u'\n'.join(output)) return mark_safe(u'\n'.join(output))
def render_options(self, choices, selected_choices): def render_options(self, choices, selected_choices):