Ticket #4958: unicode_label-5751-for-django-6158-take3.diff
File unicode_label-5751-for-django-6158-take3.diff, 580 bytes (added by , 17 years ago) |
---|
-
django/contrib/admin/options.py
diff --git a/django/contrib/admin/options.py b/django/contrib/admin/options.py index 86e3e1d..433be1e 100644
a b class AdminField(object): 113 113 classes.append(u'vCheckboxLabel') 114 114 contents = escape(self.field.label) 115 115 else: 116 contents = escape(self.field.label) + u':'116 contents = force_unicode(escape(self.field.label)) + u':' 117 117 if self.field.field.required: 118 118 classes.append(u'required') 119 119 if not self.is_first: