Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #8107 -- Fixed a missing forced_unicode() call in admin. Patch …

…from

bjronkri.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8245 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 660b9095577f53eab27bbfeec7c452bc0047a278 1 parent 7899568
Malcolm Tredinnick authored

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

  1. 2  django/contrib/admin/options.py
2  django/contrib/admin/options.py
@@ -104,7 +104,7 @@ def label_tag(self):
104 104
         classes = []
105 105
         if self.is_checkbox:
106 106
             classes.append(u'vCheckboxLabel')
107  
-            contents = escape(self.field.label)
  107
+            contents = force_unicode(escape(self.field.label))
108 108
         else:
109 109
             contents = force_unicode(escape(self.field.label)) + u':'
110 110
         if self.field.field.required:

0 notes on commit 660b909

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