Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #9294 -- Removed a (harmless) double conversion to unicode in o…

…ne form

widget. Patch from nkilday.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@9145 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit e1b7211083f6b1b8a4bc5c9f391c416b2ab5b7ab 1 parent 0995b63
Malcolm Tredinnick authored October 05, 2008

Showing 1 changed file with 0 additions and 1 deletion. Show diff stats Hide diff stats

  1. 1  django/forms/widgets.py
1  django/forms/widgets.py
@@ -281,7 +281,6 @@ def __init__(self, attrs=None):
281 281
 
282 282
     def render(self, name, value, attrs=None):
283 283
         if value is None: value = ''
284  
-        value = force_unicode(value)
285 284
         final_attrs = self.build_attrs(attrs, name=name)
286 285
         return mark_safe(u'<textarea%s>%s</textarea>' % (flatatt(final_attrs),
287 286
                 conditional_escape(force_unicode(value))))

0 notes on commit e1b7211

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