Forums

Django template to pdf

Hi all,

We are currently using Fusioncharts and DjangoTables2 to build some dashboards and we are looking for a solution to let users download their reports as pdf. It seems that there are a bunch of possibilities out there but overall I have the feeling that creating pdfs containing your HTML, CSS and JavaScript work is a pain in the ...

Here's my question:

  1. What is the most quick'n dirty way to do it?
  2. What is the "best" way to do it?

you are not going to be able to get js working/it will be super hard.

  1. maybe try weasy print?
  2. I guess the normal way would be something like reportlab, xhtml2pdf etc, not sure if it's the best way though.