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

This commit is contained in:
Baptiste Mispelon 2013-11-11 18:03:01 +01:00
parent d87127655f
commit 5fda9c9810
1 changed files with 1 additions and 1 deletions

View File

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