I am not sure this is intended. This may create problems for compilation. Moreover I was planning to reserve this syntax (subfolder in models) for models that should be executed conditionally.
If it works good but do not rely on it. Massimo On Dec 10, 6:21 pm, Thadeus Burgess <[email protected]> wrote: > It will work within a subfolder (I have done it) unless things have changed > it will work just fine (and still execute in alphabhetical order) > > 1 a_settings.py > b(folder) -> > 2 -> a.py > 3 -> c.py > 4 -> d.py > 5 c.py > > It should execute correctly in the above order > > -- > Thadeus > > On Fri, Dec 10, 2010 at 6:06 PM, mdipierro <[email protected]> wrote: > > No. Sorry. The problem is that the more complex we make this the > > slower it gets. > > > On Dec 10, 6:03 pm, Bruno Rocha <[email protected]> wrote: > > > Hi, > > > > regarding the creation of plugins, > > > can I have more than one file in /models or /controllers for each plugin? > > > > I tried: > > > /models/ > > > plugin_datatable.py > > > plugin_datatable.secondmodel.py > > > plugin_datatable.thirdmodel.py > > > > Also in /controllers > > > > But web2py does not execute the files named in this way > > > plugin_name.anothername.py, and when packing a plugin these files are > > not > > > included in plugin. > > > > can I have a folder inside /models or /controllers ? > > > > /models/db.py > > > /models/plugin_datatable/plugindb.py > > > > or another way to have more files by plugin? > > > > Thank you. > > > > -- > > > > Bruno Rochahttp://about.me/rochacbruno/bio > >

