Skip to main content

Django app to render django templates as PDF files.

Project description

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.

Project details


Download files

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

Source Distribution

dj_renderpdf_css-1.0.5.tar.gz (17.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dj_renderpdf_css-1.0.5-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

Details for the file dj_renderpdf_css-1.0.5.tar.gz.

File metadata

  • Download URL: dj_renderpdf_css-1.0.5.tar.gz
  • Upload date:
  • Size: 17.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.9.19

File hashes

Hashes for dj_renderpdf_css-1.0.5.tar.gz
Algorithm Hash digest
SHA256 5dab95d0e20a722101c6b13d73a3d0e62faef54c94ab6884468daf7424d2bbbe
MD5 39e493eebc6d5d022afd500abb149343
BLAKE2b-256 a74ff8c32e0d1731dc30febe996a570c5906d771cdcfab540769e91b9121ae30

See more details on using hashes here.

File details

Details for the file dj_renderpdf_css-1.0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for dj_renderpdf_css-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 39745cf7d1f510d8e4a07455232eac9faade316998ec9f5d43b0c27c6ffdbd6c
MD5 c650e442d6926f9a6003d4bf84226119
BLAKE2b-256 f50ce82c60a2be67547c31af097fadfcd6969ce95453af1d42beec51a38f5b5e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page