Python routes non-parameter wildcards -


I am using the pylons and there is a problem with the termin '/' character, just, I want to ignore it . My path file looks like this: map.submapper (path_prefix = '/ app', with controller = 'app'): m.connect ('{_: /?}' As:

 , Action = 'Index')   

and {_: /?} instead of /? is very much like writing, since this request sets the area to do something _ , and if I redirect, then I have to set it manually how can I get it is?

Thanks

Instead of " {_ (/?} < / Code> "or" /? ":

 with  map.submapper (path_prefix = '/ app', controller = 'app') In the form of m: m.connect ('', action = 'index')    

Comments

Popular posts from this blog

qt - switch/case statement in C++ with a QString type -

python - sqlite3.OperationalError: near "REFERENCES": syntax error - foreign key creating -

Python's equivalent for Ruby's define_method? -