There's also some pyramid docs on predicates and route factory under URL dispatch. I think that might be what you need - there are some threads in this group on those topics.
I also wrote a library `pyramid_route_7` (https://github.com/jvanasco/pyramid_route_7) that extends the config to allow macros. Instead of adding a route with `add_route` you use `add_route_7`, which then expands the macro and calls `add_route` behind the scenes. That technique might help you a bit too. -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to pylons-discuss+unsubscr...@googlegroups.com. To post to this group, send email to pylons-discuss@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/pylons-discuss/acf7087c-0f3b-464b-91f1-ed6df5d6f4af%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.