heya... On 09/17/2012 01:18 PM, David wrote:
I am aware of the options to set the content_type when using TemplateResponse, but is it possible to make the response itself return json converted rendered template and not just a rendered template?
maybe this will work for you: import json return json.dumps(rendered_template) cheers, Sebastian -- Sebastian Henschel, Python Developer Web txtr GmbH | Rosenthaler Str. 13 | 10119 Berlin | Germany -- You received this message because you are subscribed to the Google Groups "Django users" 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/django-users?hl=en.

