Loading django/forms/widgets.py +1 −1 Original line number Diff line number Diff line Loading @@ -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): Loading Loading
django/forms/widgets.py +1 −1 Original line number Diff line number Diff line Loading @@ -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): Loading