Ticket #4958: unicode_label-5751.diff
File unicode_label-5751.diff, 702 bytes (added by , 17 years ago) |
---|
-
django/contrib/admin/options.py
88 88 classes = [] 89 89 if self.is_checkbox: 90 90 classes.append(u'vCheckboxLabel') 91 contents = escape( self.field.label)91 contents = escape(force_unicode(self.field.label)) 92 92 else: 93 contents = escape( self.field.label) + u':'93 contents = escape(force_unicode(self.field.label)) + u':' 94 94 if self.field.field.required: 95 95 classes.append(u'required') 96 96 if not self.is_first: