On Thursday, January 19, 2017 at 9:42:29 AM UTC-5, icodk wrote: > > Anthony > Attached a complete welcome application that demonstrate the problem > Just register and you should get the error > There are two tables of interest org table in db.py and shop table in > tables.py > the org table has a reference to the shop table and there is a select() > on the org table in menu.py that I think triggers the error >
Well, without looking at the code, I assume the problem is that you are attempting a query in menu.py that involves a table definition in tables.py. Note that model files are executed in alphabetical order, so when menu.py is executed, tables.py has not yet executed. Anthony -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.