Django Allauth account adapter for sending email using Mandrill templates
Project description
This package provides a django-allauth account adapter for sending email utilizing templates stored in Mandrill, thanks to the Djrill package.
Installation
To install the latest release:
pip install django-allauth-djrill
Alternatively, to install the latest development version:
pip install https://github.com/obsidiancard/django-allauth-djrill/tarball/master
Amend your INSTALLED_APPS setting:
INSTALLED_APPS = ( ..., 'allauth_djrill', )
Ensure that your EMAIL_BACKEND is set up to use Djrill:
EMAIL_BACKEND = 'djrill.mail.backends.djrill.DjrillBackend'
Switch your allauth account adapter:
ACCOUNT_ADAPTER = 'allauth_djrill.adapter.DjrillAccountAdapter'
If you wish to customize the names of the templates which are called in Mandrill’s system, you can edit the ALLAUTH_DJRILL_TEMPLATES setting. The defaults are:
ALLAUTH_DJRILL_TEMPLATES = { 'account/email/email_confirmation': 'email_confirmation', 'account/email/email_confirmation_welcome': 'email_confirmation_welcome', 'account/email/email_confirmation_signup': 'email_confirmation_signup', 'account/email/password_reset_key': 'password_reset_key', }
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
Close
Hashes for django-allauth-mandrill-0.1.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7416b4be5bcf63f48a13941a9e24470aaba7b403e3160f687ec0b69cf2f6744c |
|
MD5 | ec5c9be07cc0308941c86ba2b8d1ebbb |
|
BLAKE2b-256 | a1fff4e27833a4871ff071da1201f736f0da22a9c4572fe341b8fcf2935fbbfe |