If you benefit from web2py hope you feel encouraged to pay it forward by contributing back to society in whatever form you choose!
to be extremely sure, please use a parse_boolean that returns either True or False, not "None".
def parse_boolean(self, value, field_type): return value == self.TRUE or False
If you need a custom boolean mapping this slice is for you.
1
simone-niphlod-11079 11 years ago
to be extremely sure, please use a parse_boolean that returns either True or False, not "None".