Ticket #4958: unicode_label-5751-for-django-6158-take2.diff
File unicode_label-5751-for-django-6158-take2.diff, 567 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..063b516 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 = u'%s:' % escape(self.field.label) 117 117 if self.field.field.required: 118 118 classes.append(u'required') 119 119 if not self.is_first: