Re: [web2py] replacing router.example.py or routes.example.py

2012-05-30 Thread Anthony
> > From what you are saying *router.py* shouldn't be there or is obsolete > I am using the system for the first time I was assume it was there for a > reason. > web2py does not come with a router.py file. If you have one, you (or someone else) must have put it there. Anthony

Re: [web2py] replacing router.example.py or routes.example.py

2012-05-30 Thread Anthony
> > You want to pick which router to use, and copy its example file to > routes.py. The name router.example.py is misleading in that respect, and > there's been some discussion of changing the names, but it's embedded in a > lot of documentation, so it has some inertia. > I've been lobbying to

Re: [web2py] replacing router.example.py or routes.example.py

2012-05-30 Thread Horus
understood! On Wednesday, May 30, 2012 10:13:43 PM UTC-4, Jonathan Lundell wrote: > > On May 30, 2012, at 7:08 PM, Horus wrote: > > I have attached a screenshot to show you what i am seeing. > > I started python 4 weeks ago and web2py for the last 2 so this > is completely new to me. > I downlo

Re: [web2py] replacing router.example.py or routes.example.py

2012-05-30 Thread Jonathan Lundell
On May 30, 2012, at 7:08 PM, Horus wrote: > I have attached a screenshot to show you what i am seeing. > > I started python 4 weeks ago and web2py for the last 2 so this is completely > new to me. > I downloaded a windows copy in this copy there are the two files I mentioned > > I got it to wo

Re: [web2py] replacing router.example.py or routes.example.py

2012-05-30 Thread Jonathan Lundell
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, Ho

Re: [web2py] replacing router.example.py or routes.example.py

2012-05-30 Thread Jonathan Lundell
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 Wedne

Re: [web2py] replacing router.example.py or routes.example.py

2012-05-30 Thread Horus
Additionally, if routes.py is the main file what is the purpose of router.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 o

Re: [web2py] replacing router.example.py or routes.example.py

2012-05-30 Thread Horus
I removed the .example from routes.example.py to make it routes.py, changed the values but noting happened? 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 > route

Re: [web2py] replacing router.example.py or routes.example.py

2012-05-30 Thread Jonathan Lundell
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

[web2py] replacing router.example.py or routes.example.py

2012-05-30 Thread Horus
#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? #2 Can they be added to app folder? if they are added will they take precedence ? I am not finding a lot about this online