On May 30, 2012, at 6:13 PM, Horus wrote:
> I removed the .example from routes.example.py to make it routes.py, changed 
> the values but noting happened?

You need to reload the routing information. The easiest way is to restart 
web2py, though you can also do it through the admin app.

> On Wednesday, May 30, 2012 9:07:40 PM UTC-4, Jonathan Lundell wrote:
> On May 30, 2012, at 5:56 PM, Horus wrote:
>> #1 I am assuming that when you replace  router.example.py or 
>> routes.example.py with  router.py or routes.py, respectively, in the base 
>> folder they should take over?
> 
> No, always routes.py.
> 
>> #2 Can they be added to app folder? if they are added will they take 
>> precedence ?
> 
> There needs to be a routes.py at the web2py root, necessary to route to an 
> app. Then there can be additional copies in the app folder that will override 
> for that app.


Reply via email to