[pylons-discuss] Re: Any guidance pylons and Angular2 combination

2017-10-30 Thread Narendra Palavelli
Hi Christoph, thanks for suggesting that. I have different scenario, my application is initially developed using Jinj2 and pylons, now its tightly coupled, it does not much UI/UX, but we would like to add good UI/UX to app So, Is it good to have when we want good UI/UX.? Im in confusion to

[pylons-discuss] Re: Recommended way to modify view return value

2017-10-30 Thread Jonathan Vanasco
> > I considered building a custom renderer, but I can’t figure how I’d pass > the schema into it. I could also just use a vanilla decorator, but that covers up the view call > signature. I do similar stuff in a variety of ways. I almost-always augment the request object with an

Re: [pylons-discuss] Recommended way to modify view return value

2017-10-30 Thread Bert JW Regeer
You can place a view deriver before the view is rendered by the current renderer. Unless you are returning a Response object directly from your view, you’d get the dictionary. For example, here are the default view derivers that Pyramid includes: