class documentation

class CheckboxInput(Input): (source)

View In Hierarchy

Undocumented

Method __init__ Undocumented
Method format_value Only return the 'value' attribute if value isn't empty.
Method get_context Undocumented
Method value_from_datadict Given a dictionary of data and this widget's name, return the value of this widget or None if it's not provided.
Method value_omitted_from_data Undocumented
Class Variable input_type Undocumented
Class Variable template_name Undocumented
Instance Variable check_test Undocumented

Inherited from Widget (via Input):

Method __deepcopy__ Undocumented
Method build_attrs Build an attribute dictionary.
Method id_for_label Return the HTML ID attribute of this Widget for use by a <label>, given the ID of the field. Return an empty string if no ID is available.
Method render Render the widget as an HTML string.
Method subwidgets Undocumented
Method use_required_attribute Undocumented
Class Variable is_localized Undocumented
Class Variable is_required Undocumented
Class Variable needs_multipart_form Undocumented
Class Variable supports_microseconds Undocumented
Class Variable use_fieldset Undocumented
Instance Variable attrs Undocumented
Property is_hidden Undocumented
Method _render Undocumented
def __init__(self, attrs=None, check_test=None): (source)

Undocumented

def format_value(self, value): (source)

Only return the 'value' attribute if value isn't empty.

def get_context(self, name, value, attrs): (source)
def value_from_datadict(self, data, files, name): (source)

Given a dictionary of data and this widget's name, return the value of this widget or None if it's not provided.

def value_omitted_from_data(self, data, files, name): (source)
check_test = (source)

Undocumented