[web2py] Re: routes.py causing loss of css

2015-08-26 Thread David Ripplinger
Thank you, Anthony. That helps. In my app, things will soon get complex enough that the pattern-based system will suit me best. With your help, I think I understand it a bit better now. I got it to work for what I need in this first test by simply removing '$anything'. On Wednesday, August 26,

[web2py] Re: routes.py causing loss of css

2015-08-26 Thread Niphlod
ahem. you're rewriting ANYTHING to a single url. Can you see why there's something clearly wrong with your scheme ? :D if you want MULTIPLE urls to work, you need to leave something on the left and the right side to be the "unique" parts of the urls. if you want / to go to /app/default/ind

[web2py] Re: routes.py causing loss of css

2015-08-26 Thread Anthony
Your routes.py maps literally *any *URL (including static URLs) to just the single /myapp/default/index URL. When using $anything in the first item of the tuple, you should also append it to the second so whatever arbitrary part of the original URL was matched gets retained. In any case, you pr