diff --git a/xadmin/widgets.py b/xadmin/widgets.py index 3263ddc2a..af11e7f3e 100644 --- a/xadmin/widgets.py +++ b/xadmin/widgets.py @@ -113,7 +113,7 @@ def __iter__(self): yield AdminRadioInput(self.name, self.value, self.attrs.copy(), choice, i) def __getitem__(self, idx): - choice = self.choices[idx] # Let the IndexError propogate + choice = self.choices[idx] # Let the IndexError propagate return AdminRadioInput(self.name, self.value, self.attrs.copy(), choice, idx) def render(self):