Trees | Indices | Help |
|
---|
|
1 #!/usr/bin/env python 2 # -*- coding: utf-8 -*- 3 from django.forms.widgets import RadioSelect, RadioInput, RadioFieldRenderer 4 from django.utils.encoding import force_unicode 57 """ 8 An object used by RadioFieldRenderer that represents a single 9 <input type='radio'>. 10 """ 111921 """ 22 An object used by RadioSelect to enable customization of radio widgets. 23 """ 243226 for i, choice in enumerate(self.choices): 27 yield DefaultGroupRadioInput(self.name, self.value, self.attrs.copy(), choice, i)2830 choice = self.choices[idx] # Let the IndexError propogate 31 return DefaultGroupRadioInput(self.name, self.value, self.attrs.copy(), choice, idx)34 renderer = DefaultGroupRadioFieldRenderer35
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue Sep 23 15:05:04 2014 | http://epydoc.sourceforge.net |