Dear All,
do you have any idea regarding this problem?
*********** REPLY SEPARATOR ***********
On 14/09/2006 at 13:48 Ivan Horvath wrote:
Dear All,
i've downloaded 0.7.1rc1 version from svn.
in my mysql table there is a datetime column, mysql sets default value as=
'0000-00-00 00:00:00' - it is a string (str)
when i insert a record into this table i don't specify anything for this=
datetime column.
the system finds out the default as str
but after it fails in
File "c:\python24\lib\site-packages\SQLObject-0.7.1rc1\sqlobject\col.py",=
line 958, in from_python
(self.name, type(value), value), value, state)
Invalid: expected a datetime in the DateTimeCol 'docDone', got <type 'str'>=
'0000-00-00 00:00:00' instead
how to overcome this problem?
Best regards,
Ivan Horvath
Chief Programmer
Alcatel ISD
PMS 2000 Product Team
H-1116, Budapest
Kondorfa u. 10.
Tel.: +36 1 209 9546
Fax.: +36 1 209 9599
Mobil: +36 30 257 0235
VOIP: +49 511 676 478010
i.horvath@...
Anyone who has never made a mistake has never tried anything new.
/Albert Einstein/
Best regards,
Ivan Horvath
Chief Programmer
Alcatel ISD
PMS 2000 Product Team
H-1116, Budapest
Kondorfa u. 10.
Tel.: +36 1 209 9546
Fax.: +36 1 209 9599
Mobil: +36 30 257 0235
VOIP: +49 511 676 478010
i.horvath@...
Anyone who has never made a mistake has never tried anything new.
/Albert Einstein/
|