summaryrefslogtreecommitdiff
path: root/django/forms/widgets.py
diff options
context:
space:
mode:
authorBaptiste Mispelon <bmispelon@gmail.com>2013-11-11 18:03:01 +0100
committerBaptiste Mispelon <bmispelon@gmail.com>2013-11-11 18:03:01 +0100
commit5fda9c9810dfdf36b557e10d0d76775a72b0e0c6 (patch)
tree6bcbf1cbc291b0fce4347bca8176dada7020286e /django/forms/widgets.py
parentd87127655f540747e7dc83badc015ea520b880f5 (diff)
Fixed #21423 -- Fixed typo in widgets.py.
Diffstat (limited to 'django/forms/widgets.py')
-rw-r--r--django/forms/widgets.py2
1 files changed, 1 insertions, 1 deletions
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):