Currently in Pyramid v1.5a2 one cannot easily loop over a list of routes to generate the URLs (for example to generate a nav menu) if some of the routes are external and one wished to use URL paths instead of qualified URLs (easier to server through proxies.) This is because Request.route_path() will raise an exception when called with an external route.
Since external routes must contain the qualified URL by definition, it would be more convenient if Request.route_path() just returned the qualified URL instead of an exception in these cases. In other words Request.route_path() should prefer to return URL paths when possible, but not bail out when it's not. Or will this cause some evil side effects I am missing? -- Harvey -- You received this message because you are subscribed to the Google Groups "pylons-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to pylons-devel+unsubscr...@googlegroups.com. To post to this group, send email to pylons-devel@googlegroups.com. Visit this group at http://groups.google.com/group/pylons-devel. For more options, visit https://groups.google.com/groups/opt_out.