Further resources
PDFlib (http://www.pdflib.org/) is another PDF-generation library that has Python bindings. To use it with Django, just use the same concepts explained in this article.
Pisa XHTML2PDF (http://www.xhtml2pdf.com/) is yet another PDF-generation library. Pisa ships with an example of how to integrate Pisa with Django.
HTMLdoc (http://www.htmldoc.org/) is a command-line script that can convert HTML to PDF. It doesn't have a Python interface, but you can escape out to the shell using
system
orpopen
and retrieve the output in Python.