You mean this doesn't work for you?

routes_in = (
  ("/user/(.+)", r"/welcome/user/view/\1"),
  ("/(.+)", r"/welcome/\1")
)

routes_out = (
  ("/welcome/user/view/(.+)", r"/user/\1"),
  ("/welcome/(.+)", r"/\1")
)

Reply via email to