Ticket #4981: patch.diff
File patch.diff, 361 bytes (added by , 17 years ago) |
---|
-
fields.py
382 382 383 383 def clean(self, value): 384 384 "Returns a Python boolean object." 385 super(BooleanField, self).clean(value)386 385 return bool(value) 387 386 388 387 class NullBooleanField(BooleanField):