[web2py] Re: Locating Table Definitions in a Module

2016-08-31 Thread Anthony
The benefit would probably be minimal, particularly if you are compiling the application. Greater benefit comes from only defining tables when you actually need them, but this can be achieved via other means (e.g., conditional models, lazy tables). That doesn't mean it's a bad idea to put some

[web2py] Re: Locating Table Definitions in a Module

2016-08-31 Thread Niphlod
versus having them in the model ? imho it's not worth the effort. migrate=False, lazy_tables and conditional models SHOULD get you very far without this kind of complications. On Wednesday, August 31, 2016 at 8:54:35 PM UTC+2, Scott Hunter wrote: > > Is there any benefit to putting the code to