Hi, this table definition causes an error:
db.define_table('calendar_item_type', Field('id', 'integer', notnull=True), primarykey=['id']) db.define_table('calendar_item', Field('calendar_item_type', db.calendar_item_type, notnull=True)) I'm using a different solution now so this is not a problem for me anymore. I just wanted to mention it since it seems to be a bug. It was working with a web2py version from January, when I updated it in June it didn't work anymore (I don't know the exact version numbers anymore). I'm using PostgreSQL. Alex