mirror of
https://github.com/Hopiu/django.git
synced 2026-05-21 21:42:01 +00:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue