I have to tables
db.define_table( 'wdirs',
Field( 'name', type = 'string',
requires = IS_NOT_EMPTY()),
*(a)* *format='%(name)s %(id)s'*
)
db.define_table( 'files',
Field( 'wdirs_id', db.wdirs,
requires = IS_IN_DB( db, db.wdirs.id, %(name)s
I experience the same unexpected behavior.
On Friday, October 28, 2011, szimszon wrote:
I have to tables
db.define_table( 'wdirs',
Field( 'name', type = 'string',
requires = IS_NOT_EMPTY()),
*(a)* *format='%(name)s %(id)s'*
)
db.define_table( 'files',
2 matches
Mail list logo