$anything is equivalent to "whatever"

("myapplic/default/$anything","/$anything")

On Nov 8, 11:46 am, Eduardo <[email protected]> wrote:
> Massimo,
>
> besides mapping '/myapplic/default/index' to '/' (in and out), I'm
> also hiding "myapplic/default/" from the URL for 2 actions, "phil" and
> "progr":
>
> # ========================== #
>
> routes_in = (('/phil', '/myapplic/default/phil'), ('/progr', '/
> myapplic/default/progr'), ('/', '/myapplic/default/index'))
>
> routes_out = (('/myapplic/default/phil', '/phil'), ('/myapplic/default/
> progr', '/progr'), ('/myapplic/default/index', '/'))
>
> # ========================== #
>
> I'm afraid of getting too many tuples to add to routes.py in the
> future. Is there a single-command way of always turning ""myapplic/
> default/whatever" into "/whatever"?
>
> Eduardo

Reply via email to