Ticket #3153: unicode_labels.patch
File unicode_labels.patch, 500 bytes (added by , 18 years ago) |
---|
-
django/newforms/fields.py
34 34 creation_counter = 0 35 35 36 36 def __init__(self, required=True, widget=None, label=None): 37 if label!=None: 38 label = smart_unicode(label) 37 39 self.required, self.label = required, label 38 40 widget = widget or self.widget 39 41 if isinstance(widget, type):