Ticket #5993: radioselect.patch
File radioselect.patch, 649 bytes (added by , 17 years ago) |
---|
-
django/newforms/widgets.py
317 317 % force_unicode(w) for w in self])) 318 318 319 319 class RadioSelect(Select): 320 320 renderer = RadioFieldRenderer 321 321 def __init__(self, *args, **kwargs): 322 self.renderer = kwargs.pop('renderer', None)322 self.renderer = kwargs.pop('renderer', self.renderer) 323 323 if not self.renderer: 324 324 self.renderer = RadioFieldRenderer 325 325 super(RadioSelect, self).__init__(*args, **kwargs)