Hello everyone,

I was wondering if you can do one thing in routes.py. In django, you can
customize theURLs and specify a "variable"that will conduct an argument, and
that will capture thevalue that is passed:

(...)
> (r'^test/(?P<id_user>)/$','app.views.action'),



routes_in = ((r'.*:/favicon.ico', r'/examples/static/favicon.ico'),
>              (r'.*:/robots.txt', r'/examples/static/robots.txt'),
>              ((r'.*http://otherdomain.com.* (?P<any>.*)',
> r'/app/ctr\g<any>')))


I wonder if you can do this in web2py. No routes have the following
statement that usesany. Also how is any, and how do I make up as used in
Django.
_____________________________________________
*Gilson Filho*
*Web Developer
http://gilsondev.com*

Reply via email to