Hi bfg folks, one feature I miss from pylons is having elements from the
route parsing be automatically passed to controller methods as named args. I
expect this got some thought and was decided against, I'm curious why? It
seems to me it would be nice if this route:

<route
  path="/foo/bar/:baz"
  name="foo"
  view=".views.foo_view"
  view_attr="bar"
/>

would automatically pass baz in, bypassing the need to look in
reques.matchdict if foo_view had a method like:

def bar(self, baz):

Thoughts?

thanks
iain
_______________________________________________
Repoze-dev mailing list
Repoze-dev@lists.repoze.org
http://lists.repoze.org/listinfo/repoze-dev

Reply via email to