A generic application to manage your newsletters
What it does?
django-courriers has three models:
NewsletterList which represents a newsletter list
Newsletter which represents a newsletter
NewsletterItem an item of a newsletter. It could be a content-type
NewsletterSubscriber which represents a user who is subscribed to a newsletter
You have the choice between three backends to manage and send your emails:
SimpleBackend, a simple backend to send emails with Django and your current smtp configuration
MailJetBackend, a Mailjet backend which uses mailjet library
Installation
Download the package on GitHub or simply install it via PyPi
Add courriers to your INSTALLED_APPS
INSTALLED_APPS = ( 'courriers', )Sync your database using syncdb command from django command line
Configure settings
You have to specify which backend you want to use in your settings
COURRIERS_BACKEND_CLASS = 'courriers.backends.simple.SimpleBackend'
A quick reminder: you can also set your custom DEFAULT_FROM_EMAIL in Django settings.
Backends
courriers.backends.simple.SimpleBackend
A simple backend to send your emails with Django and your current smtp configuration
courriers.backends.mailjet.MailjetBackend
A backend to manage your newsletters with Mailjet.
What you need to do for mailjet
Create an account on Mailjet
Get your API key and API Secret key
Add it to your settings with others options as described below
Install the mailjet library
Create a list or more if you have users from different countries
With this backend you have to provide additional settings
COURRIERS_MAILJET_API_KEY = 'Your API key' COURRIERS_MAILJET_API_SECRET_KEY = 'Your API Secret key' COURRIERS_DEFAULT_FROM_NAME = 'Your name'
Metadata
Release files for django-courriers 0.9.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| django-courriers-0.9.1.tar.gz | 26.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_courriers-0.9.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 63.7 kB
Release files / django-courriers-0.9.1.tar.gz
| Download URL | django-courriers-0.9.1.tar.gz |
|---|---|
| Size | 26.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
20b638919152f1cc490e6c95c1f9ede480ea1455da27046fc27f0b02fbd2267b
|
|
BLAKE2b-256 checksum How to use checksums |
451d293d6f3f41b46be37a89a214f1bdf231935db3328ceda9fb76915dea9eaa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.4
|
Release files / django_courriers-0.9.1-py3-none-any.whl
| Download URL | django_courriers-0.9.1-py3-none-any.whl |
|---|---|
| Size | 37.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d79e4cf07b9493176c4d006c6602dce6f32ec27af9232796e71da29a82e12f12
|
|
BLAKE2b-256 checksum How to use checksums |
73872f7b61e7243daf8be7aa0bcc7a6fb8b6510bfc210bddc6862fbd04746863
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.4
|
Security for django-courriers 0.9.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.