Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit 660b9095577f53eab27bbfeec7c452bc0047a278 1 parent 7899568
@malcolmt malcolmt authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/contrib/admin/options.py
View
2  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:
Please sign in to comment.
Something went wrong with that request. Please try again.