Hi Werner,

> IIUC func.now is a database function.

Ah, ok, that makes fair sense.

> You should be able to use datetime instead i.e.:
>
> created = Column(DateTime, default=datetime.datetime.utcnow)
>
> modified = Column(DateTime, default=datetime.datetime.utcnow, 
> onupdate=datetime.datetime.utcnow)

Yes, this worked just great Werner, I've used that and it seems to have done
the job! I hoped it would be that simple :-)

Thanks again,

Heston


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to