class documentation

class BoundWidget: (source)

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): (source)

Undocumented

def __str__(self): (source)

Undocumented

def tag(self, wrap_label=False): (source)

Undocumented

Undocumented

parent_widget = (source)

Undocumented

renderer = (source)

Undocumented

@property
choice_label = (source)

Undocumented

@property
id_for_label = (source)

Undocumented

@property
template_name = (source)

Undocumented