[web2py] Re: friendly URL for user profile

2013-05-21 Thread Júlia Rizza
Thank you all! I'm less confused now about the routes and it's everything working. Thanks for the code Massimo, it makes everything much more easier to understand. Em terça-feira, 21 de maio de 2013 09h37min30s UTC-3, Massimo Di Pierro escreveu: > > I think you want: > > BASE = '' > > routes_in

[web2py] Re: friendly URL for user profile

2013-05-21 Thread Massimo Di Pierro
I think you want: BASE = '' routes_in = ( # do not reroute admin unless you want to disable it (BASE + '/admin/$anything', '/admin/$anything'), # do not reroute appadmin unless you want to disable it (BASE + '/$app/appadmin', '/$app/appadmin/index'), (BASE + '/$app/appadmin/$a

[web2py] Re: friendly URL for user profile

2013-05-21 Thread Niphlod
PS: BASE is '' by default in recent routes.example.py distribution. Il giorno martedì 21 maggio 2013 13:49:04 UTC+2, Massimo Di Pierro ha scritto: > > Hello Julia, > you have lines like > (BASE + '/admin', '/admin/default/index'), > what is the value of BASE? > > > On Monday, 20 May 2013 19:48:16

[web2py] Re: friendly URL for user profile

2013-05-21 Thread Anthony
Also, note that you cannot mix the two rewrite systems (i.e., you cannot have both a "routers" dict and routes_in/routes_out -- you have to pick one or the other method of specifying routes). Anthony On Tuesday, May 21, 2013 7:49:04 AM UTC-4, Massimo Di Pierro wrote: > > Hello Julia, > you have

[web2py] Re: friendly URL for user profile

2013-05-21 Thread Massimo Di Pierro
Hello Julia, you have lines like (BASE + '/admin', '/admin/default/index'), what is the value of BASE? On Monday, 20 May 2013 19:48:16 UTC-5, Júlia Rizza wrote: > > So I have this on my *routes.py*: > > routers = dict( > BASE = dict( > default_application = 'kolaborativa', > d