Re: [web2py] App-specific routes using the new router syntax

2011-07-28 Thread pbreit
At a basic level, I agree that 1) app routing should be controlled at the app level and 2) routes.py should be "on" by default. But I think there are some complexities such as what to do when upgrading web2py (overwrite and edited routes file?).

Re: [web2py] App-specific routes using the new router syntax

2011-07-28 Thread Jonathan Lundell
On Jul 28, 2011, at 10:57 AM, Wikus van de Merwe wrote: > Hmmm... So this means that app-specific routes are not so useful as I > thought. I thought I would be able > to get away without the "web2py/routes.py" having all rules defined per > application. In other words, I was > expecting the defa

Re: [web2py] App-specific routes using the new router syntax

2011-07-28 Thread Wikus van de Merwe
Hmmm... So this means that app-specific routes are not so useful as I thought. I thought I would be able to get away without the "web2py/routes.py" having all rules defined per application. In other words, I was expecting the default_router to be the default when there is no "web2py/routes.py".

Re: [web2py] App-specific routes using the new router syntax

2011-07-28 Thread Jonathan Lundell
On Jul 28, 2011, at 9:30 AM, Wikus van de Merwe wrote: > I want to use app-specific routes to make my application more portable. Let's > assume that there > is no "web2py/routes.py" file and my application name is "init". Now I > created the "routes.py" file > in "web2py/applications/init/" dire