[SQLObject] Re: unknown column table creation..novice
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: Philippe N. <sw...@fr...> - 2004-08-19 15:07:36
|
Le 19/8/2004, "Brian Ray" <br...@se...> a =E9crit: > >Next I want to create a new record: > > rows =3D zip(headers,cell) > line_item =3D MailList.new(*rows) > >However the new method does not like this argument list: > > TypeError: new() takes exactly 1 argument (16 given) > >When I explicitly write out all 16 arguments, it works. Try: MailList.new(**rows) Philippe |