From 3ca9df26ba4248cc5a3db6837e4f4c4a0b4bf701 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Tue, 25 Oct 2016 11:58:19 -0400 Subject: [PATCH] [1.10.x] Replaced Outputting PDF's "Further Resources" with a link to Django Packages. Backport of a9d1d9528496bc5bed7c2d615a232f4ebc192676 from master --- docs/howto/outputting-pdf.txt | 21 ++++++--------------- 1 file changed, 6 insertions(+), 15 deletions(-) diff --git a/docs/howto/outputting-pdf.txt b/docs/howto/outputting-pdf.txt index e49cc02568..bfcea02f97 100644 --- a/docs/howto/outputting-pdf.txt +++ b/docs/howto/outputting-pdf.txt @@ -141,21 +141,6 @@ Here's the above "Hello World" example rewritten to use :mod:`io`:: response.write(pdf) return response -Further resources -================= - -* PDFlib_ is another PDF-generation library that has Python bindings. To - use it with Django, just use the same concepts explained in this article. -* `XHTML2PDF`_ is yet another PDF-generation library. It ships with an example - of how to integrate it with Django. -* HTMLdoc_ 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`` or ``popen`` and retrieve the output in Python. - -.. _PDFlib: http://www.pdflib.org/ -.. _XHTML2PDF: https://github.com/xhtml2pdf/xhtml2pdf -.. _HTMLdoc: https://www.msweet.org/projects.php?Z1 - Other formats ============= @@ -164,3 +149,9 @@ bits using ``reportlab``. You can use a similar technique to generate any arbitrary format that you can find a Python library for. Also see :doc:`/howto/outputting-csv` for another example and some techniques you can use when generated text-based formats. + +.. seealso:: + + Django Packages provides a `comparison of packages + `_ that help generate PDF files + from Django.