Re: [web2py] Re: Import CSV in appadmin to update database

2012-07-25 Thread Mark Li
My question title is misleading, what I want to accomplish is using a CSV file, formatted in the manner below, to update both the 'owner' data table and the 'owner-food' relational table. Assuming here I have 3 tables, 'person', 'fav food', and 'owner-food' which is a relational table (many to

Re: [web2py] Re: Import CSV in appadmin to update database

2012-07-18 Thread Johann Spies
On 18 July 2012 03:41, Mark Li wrote: > I am also unable to import a CSV file using the list:reference format > (exporting then importing with no changes still doesn't work). I get the > error message : > > Unable to parse CSV file > > 'nonetype'object has no attribute '__getitem__' > > > I am no

[web2py] Re: Import CSV in appadmin to update database

2012-07-17 Thread Mark Li
I am also unable to import a CSV file using the list:reference format (exporting then importing with no changes still doesn't work). I get the error message : Unable to parse CSV file 'nonetype'object has no attribute '__getitem__' On Tuesday, July 17, 2012 2:44:58 PM UTC-7, Mark Li wrote