Commit 5fda9c98 authored by Baptiste Mispelon's avatar Baptiste Mispelon
Browse files

Fixed #21423 -- Fixed typo in widgets.py.

parent d8712765
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -656,7 +656,7 @@ class ChoiceFieldRenderer(object):
        self.choices = choices

    def __getitem__(self, idx):
        choice = self.choices[idx]  # Let the IndexError propogate
        choice = self.choices[idx]  # Let the IndexError propagate
        return self.choice_input_class(self.name, self.value, self.attrs.copy(), choice, idx)

    def __str__(self):