summaryrefslogtreecommitdiff
path: root/django/forms/widgets.py
diff options
context:
space:
mode:
authorjpic <jamespic@gmail.com>2016-01-25 05:14:38 +0100
committerTim Graham <timograham@gmail.com>2016-01-25 10:20:58 -0500
commit65c13f9675d2ca7fc1c925e7182a2e35d07ff5fb (patch)
tree10d05bfb93034e7eb235cef553edb43baaec3966 /django/forms/widgets.py
parent5e8685c1b14e94e3f540ac1d68b61e71dcc27517 (diff)
Refs #25731 -- Removed unused MultipleHiddenInput choices
Diffstat (limited to 'django/forms/widgets.py')
-rw-r--r--django/forms/widgets.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/django/forms/widgets.py b/django/forms/widgets.py
index f52ced26c1..df585a6a2f 100644
--- a/django/forms/widgets.py
+++ b/django/forms/widgets.py
@@ -307,12 +307,7 @@ class MultipleHiddenInput(HiddenInput):
A widget that handles <input type="hidden"> for fields that have a list
of values.
"""
- def __init__(self, attrs=None, choices=()):
- super(MultipleHiddenInput, self).__init__(attrs)
- # choices can be any iterable
- self.choices = choices
-
- def render(self, name, value, attrs=None, choices=()):
+ def render(self, name, value, attrs=None):
if value is None:
value = []
final_attrs = self.build_attrs(attrs, type=self.input_type, name=name)