[web2py] Idea/question

2010-05-07 Thread blackthorne
Is it possible to customize the order by which models are loaded/ imported in a web2py application? Are they loaded by alphabetical order? It comes to my mind an idea of an interface for this based on dragging options like this http://tool-man.org/examples/sorting.html . Thanks, Best Regards

Re: [web2py] Idea/question

2010-05-07 Thread Miguel Lopes
On Fri, May 7, 2010 at 4:06 PM, blackthorne wrote: > Is it possible to customize the order by which models are loaded/ > imported in a web2py application? > Are they loaded by alphabetical order? > > Yes. They are loaded alphabetically. > It comes to my mind an idea of an interface for this bas

Re: [web2py] Idea/question

2010-05-07 Thread Thadeus Burgess
It would be very nice if we could control the order, alas it is alphabetical. So we must resort to craziness such as A_config.py B_settings.py C_db.py D_auth.py E_crud.py F_other_mode.py etc etc. =) -- Thadeus On Fri, May 7, 2010 at 10:08 AM, Miguel Lopes wrote: > On Fri, May 7, 2010 at

Re: [web2py] Idea/question

2010-05-07 Thread Thadeus Burgess
Also, models can be included in sub folders and the folder will be executed in apha order, and then its models underneath the folder executed in alpha order A_plugin_comments -> init.py db.py query.py B_plugin_ratings -> ..etcetc.. This might help clean things up a bit =? -- T