Re: [web2py] is_in_db two tables
many thanks
Re: [web2py] is_in_db two tables
Il 01/04/2012 19:52, CtrlSoft ha scritto: i have the follwing tables: || db.define_table('topmenu', Field('parent',type='integer', requires=IS_EMPTY_OR(IS_IN_DB(db, 'topmenu.id', '%(title)s'))), Field('link', type='string', label=T('Link')), Field('title',
Re: [web2py] is_in_db two tables
it's a good idea, but i'm using sqlform.grid in app admin and this will create confusion in rows ..., i need to hide rows that are in sidemenu or in top menu.