Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion xadmin/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down