I am sure boolean values in the CSV are 'T' or 'F'.
For test purpose, I only do these:

1) define a table
    db.define_table('test', SQLField('is_true', 'boolean',
default=True))
2) insert two record from appadmin, one value is true, the other value
is false.
3) export to csv file
4) open the csv file, be sure the values are 'T' and 'F'.


On 12月16日, 下午4时50分, mdipierro <mdipie...@cs.depaul.edu> wrote:
> I am aware of a problem with exporting CSV of boolean, null and time/
> date/datetime. I will fix it within the week.
>
> Meanwhile, as a way around it, make sure boolean values in the CSV are
> 'T' or 'F'.
>
> Massimo
>
> On Dec 16, 2:47 am, sharekey <share...@gmail.com> wrote:
>
>
>
> > Hi all,
>
> >     I encount a problem that the table with boolean type field can not
> > import from csv file on GAE, any suggest?- 隐藏被引用文字 -
>
> - 显示引用的文字 -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to