[web2py] Import CSV file

2015-10-14 Thread TheFltube
Hi folks, glad to join this group I tried to import in Web2Py the attached CSV file ( no sensible data, just fake info for training ;), after having created the corresponding db.py It works but only IDs are created for the correct number of rows ( held in CSV ) but no field is actually loaded,

[web2py] import csv file into table

2015-07-21 Thread Yebach
Hello I would like to import csv file into a database table - user imports how do you recommend to do it. I guess telling users to set the column names matching the headers in CSV but how do i match them after for import. I also have to add two fields with user id and another one that is based o