Skip to main content

image1 image2 image3 image4

A reusable Django application, admin panel, and EmailBackend that allows email configuration to be changed while the server is running. The goal of the project is to be the absolute easiest way to get email configured across multiple environments.

image5

Quickstart

  • Install Django Dynamic Email Settings:

    $ pip install django-des
  • Add it to your `INSTALLED_APPS`:

    INSTALLED_APPS = (
        ...
        'des',
        ...
    )
  • Add the dynamic email configuration email backend to settings.py

    EMAIL_BACKEND = 'des.backends.ConfiguredEmailBackend'
  • Run manage.py migrate des

  • To enable test email support, add Django DES’s URL patterns:

    from des import urls as des_urls
    
    
    urlpatterns = [
        ...
        url(r'^django-des/', include(des_urls)),
    ]

Settings

  • DES_TEST_SUBJECT: Set to override the default test email subject line. (Default: "Test Email")

    Example:

    DES_TEST_SUBJECT = "My New Subject"
  • DES_TEST_TEXT_TEMPLATE: Set to override the template used for text test emails. Note that this is a template file location, not a template string. (Default: "des/test_email.txt")

    Example:

    DES_TEST_TEXT_TEMPLATE = "myapp/email/test_email.txt"
  • DES_TEST_HTML_TEMPLATE: Set to enable HTML emails and use the template provided as the text/html content. (Default: None)

    Example:

    DES_TEST_HTML_TEMPLATE = "myapp/email/test_email.html"

Features

  • Configure email on the fly, no need to restart the server

  • Send test emails from the Django Admin panel

  • Test text and HTML email sending

  • Supports third party mail packages like django-mailer

Support

Python

  • 2.7

  • 3.4

  • 3.5

  • 3.6

Django

  • 1.8

  • 1.9

  • 1.10

  • 1.11

  • 2.0

Running Tests

Does the code actually work?

source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install -r requirements_dev.txt
(myenv) $ pip install -r requirements_test.txt
(myenv) $ tox

Credits

Tools used in rendering this package:

History

0.1.0 (2017-12-06)

  • First release on PyPI.

Metadata

Release files for django-des 2.4.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-des 2.4.1
File Size Uploaded Provenance
django-des-2.4.1.tar.gz 10.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for django-des 2.4.1
File Interpreter ABI Platform
django_des-2.4.1-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 22.8 kB

Release files / django-des-2.4.1.tar.gz

Download URL django-des-2.4.1.tar.gz
Size 10.9 kB
Tags Source
SHA-256 checksum
How to use checksums
3b8611c4367bfee8216b424d428040ba3b1492773c32d7ba63b38a35a13ce1ff
BLAKE2b-256 checksum
How to use checksums
3792a52ac66fd4aa470069da26306e2d6ca9e75db3186d07f31c7a541c8ebc9e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / django_des-2.4.1-py2.py3-none-any.whl

Download URL django_des-2.4.1-py2.py3-none-any.whl
Size 11.8 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
7e8a5d109e62a72451b6f298f232a483fd1bbd78126127fb48177822559ac6c9
BLAKE2b-256 checksum
How to use checksums
634edd69434f72ba3e336f9097998b92fc4b1b1fb18f74e3a5486988b06b096b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for django-des 2.4.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page