Changeset 4460
- Timestamp:
- 02/05/07 15:26:57 (1 year ago)
- Files:
-
- django/trunk/django/newforms/fields.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/django/newforms/fields.py
r4440 r4460 357 357 valid_values = set([str(k) for k, v in self.choices]) 358 358 if value not in valid_values: 359 raise ValidationError(gettext(u'Select a valid choice. %s is not one of the available choices.') % value)359 raise ValidationError(gettext(u'Select a valid choice. That choice is not one of the available choices.')) 360 360 return value 361 361
