>
> For example, how actually routes.py works ? I renamed routes.example.py 
>> <http://routes.exampe.py> to routes.py according to internal notes. 
>> Reloaded routes|reloaded web2py and... no effect.
>>
>
> As the docs state, you don't just rename those files -- the routes.py file 
> must be put in the /web2py root folder. If it is in the right place and 
> still not working as expected, there is probably something wrong with the 
> code.
>

Oh, I see you are referring to the example app-specific routes.py file, 
which can remain where it is, in its own app's folder. However, you need to 
make sure you also have a base routes.py file in the /web2py root folder, 
and as noted in the routes.example.py file, you must change the dictionary 
key "app" to be the name of your actual application.

Anthony

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to