From http://pdfcrowd.com/web-html-to-pdf-python/
HTML to PDF in Django