Changeset 6875
- Timestamp:
- 12/04/07 00:02:56 (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
r6832 r6875 534 534 super(BooleanField, self).clean(value) 535 535 # Explicitly check for the string 'False', which is what a hidden field 536 # will submit for False (since bool("True") == Truewe don't need to537 # handle that explicitly ).536 # will submit for False. Because bool("True") == True, we don't need to 537 # handle that explicitly. 538 538 if value == 'False': 539 539 return False
