From 5fda9c9810dfdf36b557e10d0d76775a72b0e0c6 Mon Sep 17 00:00:00 2001 From: Baptiste Mispelon Date: Mon, 11 Nov 2013 18:03:01 +0100 Subject: [PATCH] Fixed #21423 -- Fixed typo in widgets.py. --- django/forms/widgets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/forms/widgets.py b/django/forms/widgets.py index e6707f9557..79f3961138 100644 --- a/django/forms/widgets.py +++ b/django/forms/widgets.py @@ -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):