This is a solution but look at the following, if i declare
db.define_table('person', Field('name'),) db.define_table('cat', Field('name'), Field('owner',"integer",db.person,default=db.person.id)) db.cat.owner.requires = IS_IN_DB(db, db.person.id) the reference is broken. Is there another solution?