Hi, I'm working on a legacy database where all boolean are mapped to 0, -1.
In my application I redefine adapter TRUE/FALSE as saw in this group. In db.py: db = DAL('postgres://postgres@127.0.0.1/logistica') import copy db._adapter.types = copy.copy(db._adapter.types) db._adapter.types['boolean']='SMALLINT' db._adapter.TRUE = -1 db._adapter.FALSE = 0 Now I'm trying to use the scheduler but I found that running ./web2py.py-K logistica it doesn't take care (or it redefine to default 'F' and 'T') of my custom db ._adapter.FALSE and db._adapter.TRUE. Is there something that I can do to help fixing that? I think that to support custom boolean value is very important where working on legacy databases. Thank you very much -- Massimiliano -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.