Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

31 lines (23 sloc) 864 Bytes


djangolatex is a django package that allows you to produce PDF files using Django Templates and pdflatex.

The main entry point is djangolatex.views.direct_to_pdf_template, which is like direct_to_template except that the template is processed by pdflatex after rendering and it takes an additional filename argument (to be able to set the Content-Disposition HTTP header).


Some code is taken from this snippet, authored by blizz.


No warranty, express or implied.
We’ve done our best,
to debug and test.
Liability for damages denied.

Permission is granted hereby,
to copy, share, and modify.
Use as is fit,
free or for profit.
On this notice these rights rely.
Jump to Line
Something went wrong with that request. Please try again.