On May 30, 2012, at 6:20 PM, Horus wrote:
> Additionally, if routes.py is the main file what is the purpose of router.py?

There is no router.py. router.example.py gets renamed to routes.py.

> 
> 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