I'm moving from Pylons to Pyramid/Akhet, and I'm confused by the setup.
Is there any way to add a generic "controller/action" route with Akhet's add_handler
method?
(or even with the add_route
method in base Pyramid?)
The way I'm understanding it, it seems like I need to do a new add_handler()
call for every new controller I add.
There is no support for a
{controller}
or{handler}
wildcard in pyramid_handlers. You will need to calladd_handler
at least once per handler. This is one of the bw-incompat changes users have to go through when moving from Pylons.