mirror of https://github.com/django/django.git
Fixed #21423 -- Fixed typo in widgets.py.
This commit is contained in:
parent
d87127655f
commit
5fda9c9810
|
@ -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…
Reference in New Issue