Ticket #5081: patch.diff
File patch.diff, 418 bytes (added by , 17 years ago) |
---|
-
fields.py
old new 380 380 class BooleanField(Field): 381 381 widget = CheckboxInput 382 382 383 def __init__(self, required=False, *args, **kwargs): 384 super(BooleanField, self).__init__(args, kwargs) 385 383 386 def clean(self, value): 384 387 "Returns a Python boolean object." 385 388 super(BooleanField, self).clean(value)