Hi all, just noticed that this post sunk down and was wondering if there is an answer to that question .. or perhaps whether I can request it as a new feature an upcoming version of Pyramid (Chris?)? (registering a view_matched like we have a route_matched in a dispatch context).
Ahmed On Jan 3, 2:31 am, Ahmed <[email protected]> wrote: > Hi all, > > I was wondering if there is a way, using dispatch (and the new pyramid > config introspectables) to get a reference to the matched view class. > > The only 'simple' way is through request.view_name. However, this > gives an empty string in a url dispatch scenario. So there is a route- > matched but no view-matched. > > Any help? > > Cheers, > Ahmed -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.
