Re: [pylons-discuss] which renderer should I use for pdf?

2016-06-06 Thread Christoph Zwerschke
Am 06.06.2016 um 08:02 schrieb Krishnakant: Then I would want an ajax call to get the pdf from that view callable. So in the ajax call using jquery I can set application/pdf, but what should I write in the renderer in view_config is my question. And should I return the pdf as a value of a key in

[pylons-discuss] which renderer should I use for pdf?

2016-06-05 Thread Krishnakant
Dear all. I am trying to send a pdf file to the browser. In the view, reportlab is used to gerenate the pdf. Then I would want an ajax call to get the pdf from that view callable. So in the ajax call using jquery I can set application/pdf, but what should I write in the renderer in view_config is