On May 17, 2006, at 10:19 PM, Fred C wrote:
> > > Hello, > > I have something who look like that. > > class user(SQLObject): > name = StringCol(length=40) > first_name = StringCol(length=40) > email = StringCol(length=80) > datein = DateTimeCol(default=datetime.datetime.utcnow()) try: datein = DateTimeCol(default=datetime.datetime.utcnow) That is, pass a callable so it get's called when inserting a new row. HTH, Alberto --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears -~----------~----~----~----~------~----~------~--~---

