Skip to content

Commit

Permalink
Fixed #13431 -- Corrected a unicode literal in select widgets. Thanks…
Browse files Browse the repository at this point in the history
… to gutworth for the report.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@13036 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
freakboy3742 committed Apr 28, 2010
1 parent b647e22 commit 2ebf7fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions django/forms/widgets.py
Expand Up @@ -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):
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 2ebf7fb

Please sign in to comment.