Hi all,

i'm trying to choose between frameworks for my new project and i'm liking 
what I see with web2py but currently flask is the only one i can find that 
will do what i need with routing / subdomains.

basically, i'm trying to use the subdomain as the keyword I will run a 
database qurey on. it does not need to redirect anywhere (like 
mydomain.com/search/variable).

with flask, my route would look like "@app.route("/<var2>", 
subdomain="<var1>")", which would make my subdomain available in functions 
as var1.

is this kind of thing possible with web2py? if yes, is there anywhere it 
would work (like when using url_for())?

thanks

Reply via email to