Hi,
i have a problem. In my routes.py file in root folder i have:
routers = dict(
# base router
BASE=dict(default_application='init'),
)
in routes in my application i have:
routes_in = (
('/$u/login', '/default/login/$u/'),
)
I want to have url like /username/login and this is translated into
default/login/username.
When i try to access http://127.0.0.1:8000/tvrtka_2/login or
http://127.0.0.1:8000/init/tvrtka_2/login i get an error saying:
invalid function (default/tvrtka_2)
I don't understand what is wrong.
--
---
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.