Skip to main content

A simple Django app to create emails based on database or filesystem templates.

Project description

About

Django app that enables developers to create default templates for emails and Site Admins to easily override the templates via Admin Panel.

Assumptions

  • Site Admins should know context for each template.

  • Site Admins should be familiar with Django Template System.

Changelog

1.0.0

  • This version introduced backward incompatible EmailTemplateRegistry.

  • All EmailTemplates must be registered using email_templates.register(path). Not registered email templates will raise NotRegistered exception. Registry validation can be avoid by creating email template with flag registry_validation set to False.

  • Removed prefix from EmailFromTemplate. All templates must be located in {{templates}}/emailtemplates.

0.8.7.3

  • Set default email title if is not defined in the database.

0.8.7.1

  • Added missing migration

0.8.7

  • Check syntax errors in EmailTemplate’s content (admin form)

0.8.6.2

  • Added missing migrations

0.8.6.1

  • Migrations dir fix

0.8.6

  • Compatibility with Django 1.10

0.8.5

  • Fixed template loader error - added default Engine

0.8.4

  • Django 1.8.8 required

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

django-emailtemplates-1.0.0.tar.gz (9.7 kB view details)

Uploaded Source

File details

Details for the file django-emailtemplates-1.0.0.tar.gz.

File metadata

File hashes

Hashes for django-emailtemplates-1.0.0.tar.gz
Algorithm Hash digest
SHA256 49c12e5b8273893a72b1646dcda1ad350bdf9a9f60fb36af57ede160018a7860
MD5 67f53c7b8b34154d696f239a920693bc
BLAKE2b-256 01ec980d6141bd5cbd2d1044b04b1876d69bcba73c700e2ff85fbf6f037ff3f7

See more details on using hashes here.

Supported by

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