class documentation

class BoundWidget:

View In Hierarchy

A container class used for iterating over widgets. This is useful for widgets that have choices. For example, the following can be used in a template:

{% for radio in myform.beatles %}
<label for="{{ radio.id_for_label }}">
{{ radio.choice_label }} <span class="radio">{{ radio.tag }}</span>

</label>

{% endfor %}

Method __init__ Undocumented
Method __str__ Undocumented
Method tag Undocumented
Instance Variable data Undocumented
Instance Variable parent​_widget Undocumented
Instance Variable renderer Undocumented
Property choice​_label Undocumented
Property id​_for​_label Undocumented
Property template​_name Undocumented
def __init__(self, parent_widget, data, renderer):

Undocumented

def __str__(self):

Undocumented

def tag(self, wrap_label=False):

Undocumented

data =

Undocumented

parent_widget =

Undocumented

renderer =

Undocumented

@property
choice_label =

Undocumented

@property
id_for_label =

Undocumented

@property
template_name =

Undocumented