In the main routes.py I have:

routes_app = ((r'/(?P<app>cms|admin)\b.*', r'\g<app>'),
              (r'(.*)', r'cms'),
              (r'/?(.*)', r'cms'))


And in my application specific routes.py I have:

routes_in = (
    ('/', '/cms/plugin_wiki/page/index'),
    ('/about', '/cms/plugin_wiki/page/about'),
    ('/faq', '/cms/plugin_wiki/page/faq'),
)
routes_out = [(x, y) for (y, x) in routes_in]


Is there a better way to do this using the new version of routes?

Reply via email to