On Friday, May 17, 2013 3:04:18 PM UTC-4, Tres Seaver wrote:
>
> if event.get('renderer_name') == 'json':
> return
>
That works perfectly, thanks!
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To unsubscribe from this group and
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 05/17/2013 02:47 PM, Jonathan Vanasco wrote:
> I've got a subscriber to before_render that does some "tweaking" of
> objects and priming of an object cache for Mako/Jinja/etc templates.
>
> The problem that I've run into – json calls to the api tri
I've got a subscriber to before_render that does some "tweaking" of objects
and priming of an object cache for Mako/Jinja/etc templates.
The problem that I've run into – json calls to the api trigger this.
The following code works, just wondering if anyone has a better idea , that
would let me