django-async-email
EMAILS_TEMPLATES = {
"password_reset": {
"subject": "registration/password_set_subject.txt",
"body_html": "registration/password_set_email.html",
"body_txt": "registration/password_set_email.txt",
}
}
Important notes
Be careful with the email configured on the settings.DEFAULT_FROM_EMAIL.
An invalid email on settings.DEFAULT_FROM_EMAIL will not allow your project to run
python setup.py sdist bdist_wheel && pip uninstall -y django_async_email && python -m pip install dist/django_async_email-0.1.0-py2.py3-none-any.whl
Demo project
cd demo_project
# Build and run the docker image
docker-compose build && docker-compose up -d demo_project
# Run migrations
docker-compose exec demo_project python manage.py migrate
# Create the superuser
docker-compose exec demo_project python manage.py createsuperuser
celery worker --app=demo_project.celery -l info --pool=eventlet
Metadata
Release files for async-email 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| async-email-0.1.0.tar.gz | 11.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| async_email-0.1.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 30.0 kB
Release files / async-email-0.1.0.tar.gz
| Download URL | async-email-0.1.0.tar.gz |
|---|---|
| Size | 11.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
43cf2656afe456023907078eb1b4ef6a84c624e92dfcbc2509ade7bc2d503002
|
|
BLAKE2b-256 checksum How to use checksums |
17035fe6e1f154f56c43ed5bc3b06160d4daa70bda6efbca2d7d72febe0ae9c5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.2 CPython/3.8.5 Linux/5.4.0-48-generic
|
Release files / async_email-0.1.0-py2.py3-none-any.whl
| Download URL | async_email-0.1.0-py2.py3-none-any.whl |
|---|---|
| Size | 18.5 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
d5838ae64171a0ef2d18503aa3ec03a04efd4d9d6cc8e70cee5dbee771e82e9f
|
|
BLAKE2b-256 checksum How to use checksums |
5bb975bf5b9d4cf8fd4cb80d833e1862b8cbf9da574c12cbfd2715d9f32fe871
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.2 CPython/3.8.5 Linux/5.4.0-48-generic
|