[web2py] DAL Keys

2012-09-23 Thread Hassan Alnatour
Dear ALL , i am getting this error 'DAL' object has no attribute 'keys' when using this code : for table in db.keys(): if not (table.startswith('_') or table in badmin_tables): if db[table] and not table in badmin_exclude_tables: if isinstance(db[table],db.Table): if

Re: [web2py] DAL Keys

2012-09-23 Thread Carlos Correia
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, You should use db.tables instead: for table in db.tables: (...) Em 23-09-2012 12:56, Hassan Alnatour escreveu: Dear ALL , i am getting this error 'DAL' object has no attribute 'keys' when using this code : for