Ticket #3153: unicode_labels.patch

File unicode_labels.patch, 500 bytes (added by Damian Świstowski, 18 years ago)

patch

  • django/newforms/fields.py

     
    3434    creation_counter = 0
    3535
    3636    def __init__(self, required=True, widget=None, label=None):
     37        if label!=None:
     38            label = smart_unicode(label)
    3739        self.required, self.label = required, label
    3840        widget = widget or self.widget
    3941        if isinstance(widget, type):
Back to Top