Author: russellm
Date: 2010-04-27 22:02:53 -0500 (Tue, 27 Apr 2010)
New Revision: 13036

Modified:
   django/trunk/django/forms/widgets.py
Log:
Fixed #13431 -- Corrected a unicode literal in select widgets. Thanks to 
gutworth for the report.

Modified: django/trunk/django/forms/widgets.py
===================================================================
--- django/trunk/django/forms/widgets.py        2010-04-27 15:11:44 UTC (rev 
13035)
+++ django/trunk/django/forms/widgets.py        2010-04-28 03:02:53 UTC (rev 
13036)
@@ -438,7 +438,7 @@
         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 @@
             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)

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to