Re: [web2py] Re: Is there a way how to specifiy, which controller act as default?

2010-08-11 Thread Jonathan Lundell
On Aug 6, 2010, at 9:40 AM, Phyo Arkar wrote: i voted this too. I just dont like the controller named default and i want it different on each apps. On 8/6/10, mr.freeze nat...@freezable.com wrote: Massimo, why not make the default application,controller and function configurable in an

[web2py] Re: Is there a way how to specifiy, which controller act as default?

2010-08-11 Thread mr.freeze
Very nice. I think this is more congruous with web2py's philosophy of ease of use. On Aug 11, 11:12 am, Jonathan Lundell jlund...@pobox.com wrote: On Aug 6, 2010, at 9:40 AM, Phyo Arkar wrote: i voted this too. I just dont like thecontrollernameddefaultand i want it different on each

Re: [web2py] Re: Is there a way how to specifiy, which controller act as default?

2010-08-11 Thread Jonathan Lundell
On Aug 11, 2010, at 6:43 PM, mr.freeze wrote: Very nice. I think this is more congruous with web2py's philosophy of ease of use. It seems clean enough, I think. One thing to keep in mind (I think I've mentioned this somewhere) is that the default_application setting is effective only after

Re: [web2py] Re: Is there a way how to specifiy, which controller act as default?

2010-08-08 Thread Phyo Arkar
+1 On Sat, Aug 7, 2010 at 12:00 AM, mr.freeze nat...@freezable.com wrote: Not another config file, just another config option. Why have the overhead and complexity of a routes regex when you could just set it explicitly in an existing config file? Just seems more straightforward and user

[web2py] Re: Is there a way how to specifiy, which controller act as default?

2010-08-06 Thread mdipierro
No. But you can remap into a different controller using routes.py routes_in = [ ('/myapp', '/myapp/non_default/index'), ] On Aug 6, 9:05 am, David Marko dma...@tiscali.cz wrote: Is there a way how to specifiy, which controller act as default? I mean specify different controller than with name

[web2py] Re: Is there a way how to specifiy, which controller act as default?

2010-08-06 Thread mr.freeze
Massimo, why not make the default application,controller and function configurable in an external file like options.py or parameters_.py? On Aug 6, 9:08 am, mdipierro mdipie...@cs.depaul.edu wrote: No. But you can remap into a different controller using routes.py routes_in = [ ('/myapp',

Re: [web2py] Re: Is there a way how to specifiy, which controller act as default?

2010-08-06 Thread Phyo Arkar
i voted this too. I just dont like the controller named default and i want it different on each apps. On 8/6/10, mr.freeze nat...@freezable.com wrote: Massimo, why not make the default application,controller and function configurable in an external file like options.py or parameters_.py?

Re: [web2py] Re: Is there a way how to specifiy, which controller act as default?

2010-08-06 Thread Albert Abril
@mr.freeze You can do it with routes.py . Why another config file? On Fri, Aug 6, 2010 at 6:40 PM, Phyo Arkar phyo.arkarl...@gmail.com wrote: i voted this too. I just dont like the controller named default and i want it different on each apps. On 8/6/10, mr.freeze nat...@freezable.com

[web2py] Re: Is there a way how to specifiy, which controller act as default?

2010-08-06 Thread mr.freeze
Not another config file, just another config option. Why have the overhead and complexity of a routes regex when you could just set it explicitly in an existing config file? Just seems more straightforward and user friendly to me. On Aug 6, 12:26 pm, Albert Abril albert.ab...@gmail.com wrote: