Hi there.
Routes is an area in Web2py I never really understood. :-(
I need your help.
I have the following routes.py in web2py.dir:
```
# web2py/routes.py
# -*- coding: utf-8 -*-
logging = 'debug'
default_application = 'myapp'
routes_app = ((r'/(?Pwelcome|admin)\b.*', r'\g'),
I'm serving up a bunch of pages via a crm-like function that makes for
url's that look like this:
http://mydomain.com/myapp/page/index/page_name
and I want to reduce this to:
http://mydomain.com/page_name
Anybody know a simple routes.py that'll do that? I've tried a bunch of
things but I'm stum
2 matches
Mail list logo