Ticket #8107: boolean.diff

File boolean.diff, 567 bytes (added by Bjorn Kristinsson, 16 years ago)

Possible fix, based on malcolmt's suggestions

  • django/contrib/admin/options.py

     
    104104        classes = []
    105105        if self.is_checkbox:
    106106            classes.append(u'vCheckboxLabel')
    107             contents = escape(self.field.label)
     107            contents = force_unicode(escape(self.field.label))
    108108        else:
    109109            contents = force_unicode(escape(self.field.label)) + u':'
    110110        if self.field.field.required:
Back to Top