For conditional models, check out http://web2py.com/books/default/chapter/29/04/the-core#Workflow as well as response.models_to_run here<http://web2py.com/books/default/chapter/29/04/the-core#response>. You can also define models within a function or class in a module and import from the module.
Anthony On Wednesday, February 12, 2014 11:07:01 AM UTC-5, Juslin Guo wrote: > > Hi All, > I new to Web2py, comtemplating shifting a 500 over tables PHP Application > over... Do you all know where i can learn how to optimize Web2py for large > number of models. Is there a way i could define them without having to > repeat it, at the same time, not loading all the models. > > [Sorry if i make many posts, they are not showing up on my list somehow > after posting] > > > -- 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 [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

