notnow,
I don't know if this is your issue, but I had to add this app_cfg.py
when moving to TG2.1
#Enable json in expose
base_config.renderers.append('json')
kmcb
On Nov 20, 3:49 pm, notnow <[email protected]> wrote:
> I can't get json to work on tg2.1. It may just be be, but It works
> fine for me in 2.0. I tried to comprehend some of the discussions
> around json and tg2.1, but I am not expert enough to comprehend, at
> this point, exactly what was being discussed. The basic @expose
> ('json') should still work shouldn't it? I get a 500 error when I
> look at the url.
>
> I just updated with latest 2.1 version today to see if there had been
> a fix since my initial 2.1 installation.
--
You received this message because you are subscribed to the Google Groups
"TurboGears" 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/turbogears?hl=.