Permalink
Browse files

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...
1 parent 7899568 commit 660b9095577f53eab27bbfeec7c452bc0047a278 @malcolmt malcolmt committed Aug 8, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/contrib/admin/options.py
@@ -104,7 +104,7 @@ def label_tag(self):
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:

0 comments on commit 660b909

Please sign in to comment.