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.. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/q5NGQUtK9fwJ. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.