mirror of https://github.com/django/django.git
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:
parent
7899568e01
commit
660b909557
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue