Skip to content
Browse files

Changed django.core.formfields.CheckboxSelectMultipleField NOT to use…

… the '_' variable

git-svn-id: http://code.djangoproject.com/svn/django/trunk@1732 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent e0acc61 commit 3a11722860b2dee7ea559588cd41a4f4dc613179 @adrianholovaty adrianholovaty committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/core/formfields.py
View
2 django/core/formfields.py
@@ -570,7 +570,7 @@ def prepare(self, new_data):
# new_data has "split" this field into several fields, so flatten it
# back into a single list.
data_list = []
- for value, _ in self.choices:
+ for value, readable_value in self.choices:
if new_data.get('%s%s' % (self.field_name, value), '') == 'on':
data_list.append(value)
new_data.setlist(self.field_name, data_list)

0 comments on commit 3a11722

Please sign in to comment.
Something went wrong with that request. Please try again.