Loading django/forms/extras/widgets.py +0 −1 Original line number Diff line number Diff line Loading @@ -101,7 +101,6 @@ class SelectDateWidget(Widget): return '%s_%s' % (id_, first_select) else: return '%s_month' % id_ id_for_label = classmethod(id_for_label) def value_from_datadict(self, data, files, name): y = data.get(self.year_field % name) Loading django/forms/widgets.py +0 −4 Original line number Diff line number Diff line Loading @@ -234,7 +234,6 @@ class Widget(object): tags. """ return id_ id_for_label = classmethod(id_for_label) class Input(Widget): """ Loading Loading @@ -735,7 +734,6 @@ class RadioSelect(Select): if id_: id_ += '_0' return id_ id_for_label = classmethod(id_for_label) class CheckboxSelectMultiple(SelectMultiple): def render(self, name, value, attrs=None, choices=()): Loading Loading @@ -767,7 +765,6 @@ class CheckboxSelectMultiple(SelectMultiple): if id_: id_ += '_0' return id_ id_for_label = classmethod(id_for_label) class MultiWidget(Widget): """ Loading Loading @@ -826,7 +823,6 @@ class MultiWidget(Widget): if id_: id_ += '_0' return id_ id_for_label = classmethod(id_for_label) def value_from_datadict(self, data, files, name): return [widget.value_from_datadict(data, files, name + '_%s' % i) for i, widget in enumerate(self.widgets)] Loading Loading
django/forms/extras/widgets.py +0 −1 Original line number Diff line number Diff line Loading @@ -101,7 +101,6 @@ class SelectDateWidget(Widget): return '%s_%s' % (id_, first_select) else: return '%s_month' % id_ id_for_label = classmethod(id_for_label) def value_from_datadict(self, data, files, name): y = data.get(self.year_field % name) Loading
django/forms/widgets.py +0 −4 Original line number Diff line number Diff line Loading @@ -234,7 +234,6 @@ class Widget(object): tags. """ return id_ id_for_label = classmethod(id_for_label) class Input(Widget): """ Loading Loading @@ -735,7 +734,6 @@ class RadioSelect(Select): if id_: id_ += '_0' return id_ id_for_label = classmethod(id_for_label) class CheckboxSelectMultiple(SelectMultiple): def render(self, name, value, attrs=None, choices=()): Loading Loading @@ -767,7 +765,6 @@ class CheckboxSelectMultiple(SelectMultiple): if id_: id_ += '_0' return id_ id_for_label = classmethod(id_for_label) class MultiWidget(Widget): """ Loading Loading @@ -826,7 +823,6 @@ class MultiWidget(Widget): if id_: id_ += '_0' return id_ id_for_label = classmethod(id_for_label) def value_from_datadict(self, data, files, name): return [widget.value_from_datadict(data, files, name + '_%s' % i) for i, widget in enumerate(self.widgets)] Loading