Well, you can redefine the False and True objects equality operators to 
accept 'T' or 'F' or 1 or 0...

On Friday, October 18, 2013 2:54:58 PM UTC-7, puercoespin wrote:
>
> Thanks for the information.
>
> But in my db, booleans were stored as "True" or "False". No 'T' or 'F'. 
> May be because a default = False in my model?
>
> Anyway, when save my db to csv, booleans are saved as False/True, and 
> Postgesql give me an error of "too many chars... "
>
> Thanks again.
> <http://subbaraman.wordpress.com/about/>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to