No project description provided
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
async-email-0.1.0.tar.gz
(11.6 kB
view hashes)
Built Distribution
Close
Hashes for async_email-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d5838ae64171a0ef2d18503aa3ec03a04efd4d9d6cc8e70cee5dbee771e82e9f |
|
MD5 | 2e5af043cd991fbb0f78123e37d461ec |
|
BLAKE2b-256 | 5bb975bf5b9d4cf8fd4cb80d833e1862b8cbf9da574c12cbfd2715d9f32fe871 |