Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
Russell Keith-Magee authored April 28, 2010

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  django/forms/widgets.py
4  django/forms/widgets.py
@@ -438,7 +438,7 @@ def render(self, name, value, attrs=None, choices=()):
438 438
         options = self.render_options(choices, [value])
439 439
         if options:
440 440
             output.append(options)
441  
-        output.append('</select>')
  441
+        output.append(u'</select>')
442 442
         return mark_safe(u'\n'.join(output))
443 443
 
444 444
     def render_options(self, choices, selected_choices):
@@ -737,7 +737,7 @@ def _get_media(self):
737 737
             media = media + w.media
738 738
         return media
739 739
     media = property(_get_media)
740  
-    
  740
+
741 741
     def __deepcopy__(self, memo):
742 742
         obj = super(MultiWidget, self).__deepcopy__(memo)
743 743
         obj.widgets = copy.deepcopy(self.widgets)

0 notes on commit 2ebf7fb

Please sign in to comment.
Something went wrong with that request. Please try again.