>
> 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
>
> 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
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
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
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
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
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
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
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
#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
10 matches
Mail list logo