Hi, I'm trying to use the fromDatabse in meta and it's not working the
way that I'd expect. Here's a code fragment.
_connection =3D conn
_fromDatabase =3D True
_style =3D MixedCaseStyle(longID=3DTrue)
I can create a new record, but can't change any of the properties. My
database has columns AssetID, Make, Model etc. When I try this, the
record is created but the Model data is not saved.
asset =3D Asset()
asset.Make =3D "chevy"
When I try this, I get an type error.
asset =3D Asset(Make=3D"chevy")
TypeError: Assets.set() got unexpected keyword argument Make
Does any one know what it takes to get fromDatabase working? I'm using
python 2.4 and sqlobject 0.6.1
On Fri, May 19, 2006 at 02:27:53PM -0600, Paul Clark Vandersteen wrote:
> python 2.4 and sqlobject 0.6.1
The first step is to upgrade to 0.7.0.
Oleg Broytmann http://phd.pp.ru/ phd@...
Programmers don't die, they just GOSUB without RETURN.