Commits

Anonymous committed 4879c12

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

Comments (0)

Files changed (1)

django/contrib/admin/options.py

         classes = []
         if self.is_checkbox:
             classes.append(u'vCheckboxLabel')
-            contents = escape(self.field.label)
+            contents = force_unicode(escape(self.field.label))
         else:
             contents = force_unicode(escape(self.field.label)) + u':'
         if self.field.field.required: