[web2py] routes.py in case of second application.

2013-01-29 Thread Annet
In my application every registered user has a shortname stored in auth_user, which he can use to reference his home page. For this purpose I have the following code in 00_db.py: if request.controller == 'default' and request.function == 'index' and request.args(0) == 'nl':

Re: [web2py] routes.py in case of second application.

2013-01-29 Thread Jonathan Lundell
On 29 Jan 2013, at 1:44 AM, Annet anneve...@googlemail.com wrote: In my application every registered user has a shortname stored in auth_user, which he can use to reference his home page. For this purpose I have the following code in 00_db.py: if request.controller == 'default' and