Hi,

Using web2py, straight out of the box, no routes.py or such :

When i request :  
https://myserver/myapp/mycontroller/myfunction

having /models/models.py :
...
default_application   = 'myapp'
...



and /controllers/mycontroller.py :
def myfunction():
    # no pasa nada
    return dict()

Web2py answers :
invalid function (default/mycontroller)

So, he is looking for function *mycontroller*, inside controller *default.py
*, instead of looking for function *myfunction*, inside controller *
mycontroller.py*.

Why ? What I am missing ?

-- 



Reply via email to