class documentation

class RangeWidget(MultiWidget):

Known subclasses: django.contrib.postgres.forms.ranges.HiddenRangeWidget

View In Hierarchy

Undocumented

Method __init__ Undocumented
Method decompress Return a list of decompressed values for the given compressed value. The given value can be assumed to be valid, but not necessarily non-empty.

Inherited from MultiWidget:

Method __deepcopy__ Undocumented
Method ​_get​_media Media for a multiwidget is the combination of all media of the subwidgets.
Method get​_context Undocumented
Method id​_for​_label Return the HTML ID attribute of this Widget for use by a <label>, given the ID of the field. Return None if no ID is available.
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 media Undocumented
Class Variable template​_name Undocumented
Instance Variable widgets Undocumented
Instance Variable widgets​_names Undocumented
Property is​_hidden Undocumented
Property needs​_multipart​_form Undocumented

Inherited from Widget (via MultiWidget):

Method ​_render Undocumented
Method build​_attrs Build an attribute dictionary.
Method format​_value Return a value as it should appear when rendered in a template.
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 supports​_microseconds Undocumented
Instance Variable attrs Undocumented
def __init__(self, base_widget, attrs=None):
def decompress(self, value):
Return a list of decompressed values for the given compressed value. The given value can be assumed to be valid, but not necessarily non-empty.