Ticket #3131: select-multiple.diff
File select-multiple.diff, 579 bytes (added by , 18 years ago) |
---|
-
widgets.py
146 146 output.append(u'</select>') 147 147 return u'\n'.join(output) 148 148 149 def value_from_datadict(self, data, name): 150 try: 151 return data.getlist(name) 152 except KeyError: 153 return [] 154 149 155 class RadioInput(StrAndUnicode): 150 156 "An object used by RadioFieldRenderer that represents a single <input type='radio'>." 151 157 def __init__(self, name, value, attrs, choice, index):