From 65c13f9675d2ca7fc1c925e7182a2e35d07ff5fb Mon Sep 17 00:00:00 2001 From: jpic Date: Mon, 25 Jan 2016 05:14:38 +0100 Subject: [PATCH] Refs #25731 -- Removed unused MultipleHiddenInput choices --- django/forms/widgets.py | 7 +------ 1 file changed, 1 insertion(+), 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 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)