On Fri, May 26, 2006 at 03:26:56PM +0100, Fadhley, Salim (FID) wrote:
> I am going to try to test this with MX (we don't have it yet at work),
> and see if that makes the problems go away.

   It's not enough to install mxDateTime. If you have both datetime and
mxDateTime (and you most probably have) datetime has precedence. You have
to force SQLObject to use mxDateTime. Do this before declaring tables:

from sqlobject import *
from sqlobject import col

if mxdatetime_available:
    col.default_datetime_implementation = MXDATETIME_IMPLEMENTATION

See tests\test_datetime.py for examples.

Oleg.
-- 
     Oleg Broytmann            http://phd.pp.ru/            [EMAIL PROTECTED]
           Programmers don't die, they just GOSUB without RETURN.


-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
sqlobject-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to