def __init__(self, widgets, attrs=None):
    super(WidgetTypeSelect, self).__init__(attrs)
    self._widgets = widgets
def __init__(self, widgets, attrs=None):
    super(WidgetTypeSelect, self).__init__(attrs)
    self._widgets = widgets