pylint: update render signature to match django (#63176)
This commit is contained in:
parent
e3f794cda0
commit
fd5230459a
|
@ -29,7 +29,7 @@ class MultiSortWidget(forms.SelectMultiple):
|
|||
self.with_checkboxes = False
|
||||
super().__init__(*args, **kwargs)
|
||||
|
||||
def render(self, name, value, attrs=None, choices=(), renderer=None):
|
||||
def render(self, name, value, attrs=None, renderer=None):
|
||||
# reorder choices to get them in the current value order
|
||||
self_choices = self.choices[:]
|
||||
choices_dict = dict(self_choices)
|
||||
|
|
Loading…
Reference in New Issue