hi,
i have 963 svn of tg and sqlobject 0.7.1dev_r1579 and have this in
model.py:

MyTest(SQLObject):
  some_date = DateCol(default=datetime.date.today())
  some_bool = BoolCol(default=True)

however, when i look into the database after tg-admin sql create, there
is no default value there. I have tried also with BoolCol(default=1).
This both applies to sqlite and postgresql.
Another thing is that catwalk finds the default value for some_date
correctly (probably reading directly model.py?), but some_bool has
initial value of False there in the combo box despite specified default
value in model.py.
Am I missing something or is there some bug here?
Thanks,
Matej

Reply via email to