Introduction

Installation

pip install django-notifiedby
pip install requests

Configuration

Add the following to your Django settings.py:

INSTALLED_APPS = [
    # ... your other apps
    'notifiedby',
]

EMAIL_BACKEND = "notifiedby.NotifiedByEmailBackend"
NOTIFIEDBY_API_KEY = "YOUR_API_KEY"

Note

Setting EMAIL_BACKEND makes NotifiedBy the default backend for all Django email sending, including send_mail(). This is optional if you only want to use the flow and recipient functions.

If you use custom encryption keys for email content, also add:

NOTIFIEDBY_ENCRYPTION_KEY = "your-encryption-key"

The API key and encryption key will be read automatically from your Django settings by all package functions.