On Sunday, June 4, 2017 at 3:33:18 AM UTC-7, Scorpa wrote: > > Hello folks ! > > > Many times when i'm searching for an answer in the official docs about how > to do this or that i'm ending in the stack overflow questions area or in > this group. > and thats really frustrating that even simplest tasks can't be done easy. >
I found, in contrast, that I could get a lot done by reading the book, and even now many of my questions here have answers in the book ... I just lost track of where. (Early on, I got the hardcopy of the book, and read all the way through it, putting in a lot of bookmarks. Now, I mostly use the online copy, as I do for Python documentation.) > 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. > > How to actually use this tool ? > > It's cheating to say I just used what was in the book and what was in the routes.py sample file, because before I tried I had been reading the group for quite a while. Also, I chose the simpler technique, and have it do simple things: routers = dict( # base router BASE=dict( default_application='LogServer', root_static = ['favicon.ico', 'robots.txt'], ), ) > By the way, why pyCharm can't find packages in this file ? > I don't use pyCharm; we have a couple people who have posted here about how to use pyCharm with web2py; I believe one of them even got some changes adopted by pyCharm to handle web2py better, and those related to directory structure IIRC. Good luck! /dps > > <https://lh3.googleusercontent.com/-PrSTrVX1zNU/WTPh1TrxJDI/AAAAAAAAIyU/Wq1Co6VC2noc4hmDtHUuNhgzL-G2-x--QCLcB/s1600/Capture.JPG> > > -- 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.