I think you're looking for the tg.allow_json config option. Once that's enabled, just add &tg_format=json to your requests.
-ken On Nov 16, 2007 10:44 PM, iain duncan <[EMAIL PROTECTED]> wrote: > > I'm exploring various testing configurations and am trying to find the > best way to disable all template rendering for a site so that all > expose() calls are treated as if they have no template variable. Didn't > see anything (yet) in the docs, is there a convenient way of forcing all > returns to spit out json without touching the controller code? or at > worse making one change in the top of controller? > > Thanks! > iain --~--~---------~--~----~------------~-------~--~----~ 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=en -~----------~----~----~----~------~----~------~--~---

