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 table == "auth_user" :
badmin_tables[table]={
#'columns':db[table].fields[:3],
'columns':['first_name','last_name','Country','Age','email'],
'filters':['first_name','Country','Age'],
}
else:
badmin_tables[table]={
'columns':db[table].fields[:3],
'filters':[],
}
whey cant i use db.keys now ? how can i fix this
Best Regards,
--