From e1b7211083f6b1b8a4bc5c9f391c416b2ab5b7ab Mon Sep 17 00:00:00 2001 From: Malcolm Tredinnick Date: Sun, 5 Oct 2008 08:51:14 +0000 Subject: [PATCH] Fixed #9294 -- Removed a (harmless) double conversion to unicode in one form widget. Patch from nkilday. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9145 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/forms/widgets.py | 1 - 1 file changed, 1 deletion(-) diff --git a/django/forms/widgets.py b/django/forms/widgets.py index 738da20d1c..c9d947bbce 100644 --- a/django/forms/widgets.py +++ b/django/forms/widgets.py @@ -281,7 +281,6 @@ class Textarea(Widget): def render(self, name, value, attrs=None): if value is None: value = '' - value = force_unicode(value) final_attrs = self.build_attrs(attrs, name=name) return mark_safe(u'%s' % (flatatt(final_attrs), conditional_escape(force_unicode(value))))