Skip to main content

DjaoDjin's Template wrappers for HTML email and PDF templates

Project description

djaodjin-extended-templates is a Django application that adds missing features for managing Django templates.

Major Features:

  • Live editing of HTML templates
  • Build .css from .scss on page load
  • HTML email templates
  • PDF templates
  • Media assets gallery
  • Upload theme packages

Development

Attention! (2024-10-01) Renamed master branch to main (see GitHub Renaming the default branch from master).

After cloning the repository, create a virtualenv environment, install the prerequisites, create the database then run the testsite webapp.


    $ python -m venv .venv
    $ source .venv/bin/activate
    $ pip install -r testsite/requirements.txt
    $ make vendor-assets-prerequisites

    $ make initdb

    $ python manage.py runserver

    # Browse http://localhost:8000/
    # Start edit live templates

Configure the settings to connect to your e-mail server, then run the sendtestemail command.

credentials:
  EMAIL_HOST_USER =
  EMAIL_HOST_PASSWORD =
site.conf:
  EMAIL_HOST    =
  EMAIL_PORT    =
  EMAIL_USE_TLS =
  DEFAULT_FROM_EMAIL =

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

$ python manage.py sendtestemail __your_email_address__

Note that you will need to link podofo-flatform.cc with podofo version 0.9.3. Version 0.9.1 as shipped with many RedHat systems will link with no error but the outputed PDF will be blank.

Release Notes

Tested with

  • Python: 3.12, Django: 5.2 (LTS)
  • Python: 3.14, Django: 6.0 (next)
  • Python: 3.10, Django: 4.2 (legacy)
  • Python: 3.9, Django: 3.2 (legacy)

0.5.1

  • supports tags on S3 and FileSystem storages permanent_location
  • shows error messages in sidebar gallery UI component
  • prevents reloading asset when tags are updated

previous release notes

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

djaodjin_extended_templates-0.5.1.tar.gz (72.2 kB view details)

Uploaded Source

Built Distribution

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

djaodjin_extended_templates-0.5.1-py3-none-any.whl (116.2 kB view details)

Uploaded Python 3

File details

Details for the file djaodjin_extended_templates-0.5.1.tar.gz.

File metadata

File hashes

Hashes for djaodjin_extended_templates-0.5.1.tar.gz
Algorithm Hash digest
SHA256 cd350555af2433ded6954f8c917546aaf12696168d23672ab6358ab550957a3f
MD5 ebe01090b9d5f7d189b65dd3b64667b4
BLAKE2b-256 9c75fe5236d54dcaf3537472ae4f5815a4099f2ce80e71f27f17887c9af23185

See more details on using hashes here.

File details

Details for the file djaodjin_extended_templates-0.5.1-py3-none-any.whl.

File metadata

File hashes

Hashes for djaodjin_extended_templates-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7a031d0bca92b0eb567b2d8002e03d5b2d98961c1d8eafa8661d1f89355e6992
MD5 3e74e8e48e0c66eda6f29737b41286e6
BLAKE2b-256 d4eb9e5754e9db61d3f75107a9715ad393bc73fa9b8a118b3f673ffb3936e3ad

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