Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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
  • Loading branch information...
commit 2ebf7fb2b2057f36beeab095c360a7eae0ef1c7f 1 parent b647e22
@freakboy3742 freakboy3742 authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 django/forms/widgets.py
View
4 django/forms/widgets.py
@@ -438,7 +438,7 @@ def render(self, name, value, attrs=None, choices=()):
options = self.render_options(choices, [value])
if options:
output.append(options)
- output.append('</select>')
+ output.append(u'</select>')
return mark_safe(u'\n'.join(output))
def render_options(self, choices, selected_choices):
@@ -737,7 +737,7 @@ def _get_media(self):
media = media + w.media
return media
media = property(_get_media)
-
+
def __deepcopy__(self, memo):
obj = super(MultiWidget, self).__deepcopy__(memo)
obj.widgets = copy.deepcopy(self.widgets)
Please sign in to comment.
Something went wrong with that request. Please try again.