Skip to main content

A django app to render django templates as PDF files.

Project description

Travis CI build status Codecov coverage report Version on PyPI Python versions Licence

django-renderpdf is a Django app to render django templates as PDF files.

Introduction

Rendering PDFs for web developers is generally pretty non-trivial, and there’s no common approach to doing this. django-renderpdf attempts to allow reusing all the known tools and skills when generating a PDF file in a Django app:

  • Use Django template files, which are internally rendered as HTML and them PDF files.

  • Use staticfiles app to include any CSS or image files.

  • Simply subclass a PDFView class which has an interface very similar to Django’s own built-in View classes.

Documentation

The full documentation is available at https://django-renderpdf.readthedocs.io/.

Licence

django-renderpdf is licensed under the ISC licence. See LICENCE for details.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-renderpdf-3.0.1.tar.gz (15.2 kB view hashes)

Uploaded source

Built Distribution

django_renderpdf-3.0.1-py3-none-any.whl (7.6 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page