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',
}
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file django-allauth-djrill-0.1.1.tar.gz.
File metadata
- Download URL: django-allauth-djrill-0.1.1.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6940ab6e32d6ea135c7ca195f3a64f6ce976e0b8101af91a9a34e3eb352a231c
|
|
| MD5 |
ef1e6f7cabdfeab8a89540f9736789a0
|
|
| BLAKE2b-256 |
6574d7f4d2d07613b819e0f927149222b7f5024714e2e1665b1483bd5b74c27e
|