Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

DjaoDjin's Template wrappers for HTML email and PDF templates

Project description

This code was written to simplify the generation of HTML emails and PDF outputs from templates.


After cloning the repository, create a virtualenv environment, install the prerequisites, configure the settings to your email server, then run the sendtestemail command.

$ virtualenv-2.7 _installTop_ $ source _installTop_/bin/activate $ pip install -r requirements.txt $ make initdb

Here you will need to edit credentials and site.conf to use the appropriate settings to connect to your e-mail server.


Then run the sendtestemail command and look for an e-mail delivered to you in HTML format.

$ python sendtestemail __your_email_address__

Note that you will need to link with [podofo]( version 0.9.3. Version 0.9.1 as shipped with Fedora 21 will link with no error but the outputed PDF will be blank.

Release Notes


  • compatibles with Django3


  • Switches HTML to PDF rendering dependency from xml2pdf to WeasyPrint
  • Python 3.6 compatibility

Project details

Download files

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

Files for djaodjin-extended-templates, version 0.2.5
Filename, size File type Python version Upload date Hashes
Filename, size djaodjin-extended-templates-0.2.5.tar.gz (9.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page