On Mon, May 22, 2006 at 06:14:35PM +0100, Fadhley, Salim (FID) wrote: > File "/ms/dev/python/PROJ/sqlobject/0.7.0/lib/sqlobject/col.py", line > 943, in > to_python > File "/ms/dev/python/PROJ/sqlobject/0.7.0/lib/sqlobject/col.py", line > 845, in > to_python > formencode.api.Invalid: expected an date/time string of the '%Y-%m-%d' > format in > the DateTimeCol 'Maturity', got <type 'DateTimeType'> instead
It's a bug in DateValidator in SQLObject 0.7.0. It was fixed in SVN long ago. Use code from 0.7-bugfix branch or my tarballs: http://phd.pp.ru/Software/Python/misc/SQLObject/ Oleg. -- Oleg Broytmann http://phd.pp.ru/ [EMAIL PROTECTED] Programmers don't die, they just GOSUB without RETURN. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ sqlobject-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss
