mirror of
				https://github.com/django/django.git
				synced 2025-10-31 01:25:32 +00:00 
			
		
		
		
	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:
		| @@ -438,7 +438,7 @@ class Select(Widget): | ||||
|         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 @@ class MultiWidget(Widget): | ||||
|             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) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user