Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

newforms-admin: Fixed #4958 -- Translated field labels now show. Than…

…ks, Honza Kral

git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@6209 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 276c941d08ba891940954d3c43c63b5b760e17a0 1 parent 337f198
@adrianholovaty adrianholovaty authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/contrib/admin/options.py
View
2  django/contrib/admin/options.py
@@ -113,7 +113,7 @@ def label_tag(self):
classes.append(u'vCheckboxLabel')
contents = escape(self.field.label)
else:
- contents = escape(self.field.label) + u':'
+ contents = force_unicode(escape(self.field.label)) + u':'
if self.field.field.required:
classes.append(u'required')
if not self.is_first:
Please sign in to comment.
Something went wrong with that request. Please try again.