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
This commit is contained in:
Malcolm Tredinnick 2008-08-08 21:19:59 +00:00
parent 7899568e01
commit 660b909557
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ class AdminField(object):
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: