I am new to web2py but it has made me curious. Today i tried making a simple function in default.py
say testFunction()
on local host the url <localhost>TestApplication/default/testFunction
worked but after deployment to pythonanywhere it showed me error invalid view (default/testFunction.html)
I figured that its not getting a view for testFunction() so i made a default/testFunction.htm in views and then it worked.
My question is why cant web2py pick up the default view for my function if its not there,When deployed? How can i make it do it.