The JSONP renderer cannot be used via ZCMLm, sorry.
- C
On Mon, 2011-09-12 at 09:58 -0700, Jamil Atta Junior wrote:
> Hi people,
>
> I try to use the zcml with jsonp, and I receiving this error message:
>
> result = renderer(value, system_values)
> TypeError: __call__() takes exactly 2 arguments (3 given)
>
>
> My zcml file:
>
> <renderer
> name="jsonp"
> factory="pyramid.renderers.JSONP"
> />
>
> <route
> name="site"
> pattern="/analytics/site/{instance}/{output}"
> view="analytics.views.site"
> renderer="jsonp"
> />
>
> Thanks.
>
--
You received this message because you are subscribed to the Google Groups
"pylons-devel" 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-devel?hl=en.