This definition includes:
 db.auth_permission.table_name.requires = IS_IN_SET(db.tables)

Problem is that db.tables is evaluated when the Auth class is
instantiated
=> only contains those tables created up to that point in the model

Workaround is to explictly call that line at the end of the model(s).

Not sure how to fix the class definition to avoid this.

If we can't then we should update documentation.

F
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to