Re: rendered template + additional data ajax response

21 views
Skip to first unread message

smcoll

unread,
Nov 16, 2012, 10:53:01 AM11/16/12
to django...@googlegroups.com
You want to include a rendered template in a JSON response?  Take a look at https://github.com/eldarion/bootstrap-ajax and this related blog post: http://paltman.com/2012/08/23/twitter-bootstrap-and-ajax/

It's designed with the intention of supporting bootstrap markup, but i believe it's actually markup-agnostic.  Requires jquery.


On Thursday, November 15, 2012 7:24:40 AM UTC-6, Timophey Nakhai wrote:
Hello. I want to put additional data with my rendered template to the client in Jquery.ajax() method. How can i do that? Now i'm using TemplateResponse(), but with that method i get only my rendered temlate..
Reply all
Reply to author
Forward
0 new messages