Re: default vs not-default (was Re: [web2py] perhaps a silly question about index)

2012-11-22 Thread Andrew W
Have you read the Overview chapter of the book? To achieve what you want you would not put controllers in the model folder, they go in the controllers folder. The default/index in the path refers to the file name and the function within the file name. So green/eggs/ham.refers to the green app,

Re: default vs not-default (was Re: [web2py] perhaps a silly question about index)

2012-11-22 Thread lyn2py
Can you clarify: why do you put your controllers in the models folder? On Wednesday, November 21, 2012 10:28:59 PM UTC+8, Brian Blais wrote: > > On Nov 21, 2012, at 4:55 AM, lyn2py wrote: > > > You can remap this using routes.py > > > > On Tuesday, November 20, 2012 9:44:37 PM UTC+8, Brian Blai

default vs not-default (was Re: [web2py] perhaps a silly question about index)

2012-11-21 Thread Brian Blais
On Nov 21, 2012, at 4:55 AM, lyn2py wrote: > You can remap this using routes.py > > On Tuesday, November 20, 2012 9:44:37 PM UTC+8, Brian Blais wrote: > Hello, > > Is there a reason to have the controllers all in default.py, or is there some > reason to have certain controllers in default.py a