pylint: update render signature to match django (#63176)

This commit is contained in:
Frédéric Péters 2022-03-25 08:01:31 +01:00
parent e3f794cda0
commit fd5230459a
1 changed files with 1 additions and 1 deletions

View File

@ -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)