Re: [SQLObject] I don't get it

2007-11-08 Thread Jaime Wyant
Hi Nicolas! I don't know if this helps much, but I don't have the same problems using sqlobject-0.10. If you can upgrade it may help. This script works fine for me. I think it mimics what you're attempting to do. from sqlobject import * import datetime import sys # Setup the database connecti

[SQLObject] I don't get it

2007-11-07 Thread Nicolas Riedel
Hello, trying to understand SQLObject (using ist with Turbogears), but I don't get it to work properly. Got the model: class Worktime(SQLObject): start = DateTimeCol() end = DateTimeCol( default=None ) user = ForeignKey("User") class User(SQLObject): user_name = UnicodeCol(lengt