Ticket #6401: widgets.diff
File widgets.diff, 587 bytes (added by , 17 years ago) |
---|
-
django/newforms/widgets.py
387 387 if isinstance(data, MultiValueDict): 388 388 return data.getlist(name) 389 389 return data.get(name, None) 390 390 391 def is_empty(self, value): 392 if value in (None, '', []): 393 return True 394 return False 395 391 396 class RadioInput(StrAndUnicode): 392 397 """ 393 398 An object used by RadioFieldRenderer that represents a single