Creating PDFs with django (wkhtmltopdf)
Could someone please provide me with a comprehensive example of how to get a view in django to return a PDF using wkhtmltopdf . There are limited number of examples that come with django-wkhtmltopdf and they presume a level of knowledge I just don't have. I have looked through the source code but I can't make heads or tails of how to use it (for example whats the difference between PDFTemplateView and PDFTemplateResponse ?!?) I would be very grateful for any help. BTW(I'm using templates for the header and footer as well) EDIT def some_view(request,sID): something = get_object_or_404(Something