[sqlalchemy] Re: session.flush() error

2006-11-28 Thread Enrico Morelli
On Tue, 28 Nov 2006 11:01:29 +0100 Julien Cigar <[EMAIL PROTECTED]> wrote: > > I think that the problem is with the start_date column. > > c.start_date=time.asctime() is not a valid DateTime, you have to use > datetime.today() or something like that. SQLAlchemy (psycopg in fact) > maps timestam

[sqlalchemy] Re: session.flush() error

2006-11-28 Thread Julien Cigar
I think that the problem is with the start_date column. c.start_date=time.asctime() is not a valid DateTime, you have to use datetime.today() or something like that. SQLAlchemy (psycopg in fact) maps timestamps with DateTime objects. Enrico Morelli wrote: > Dear all, > > I've a strange proble