I am using xhtml2pdf to introduce pdf report downloads on my platform. The intention is to send a dictionary with some data via ajax to the view so that it triggers the render_t