mirror of
https://github.com/pacnpal/django-anymail.git
synced 2025-12-20 20:01:05 -05:00
code blocks
This commit is contained in:
@@ -15,14 +15,11 @@ Configuration
|
|||||||
In ``settings.py``:
|
In ``settings.py``:
|
||||||
|
|
||||||
1. Add ``djrill`` to your ``INSTALLED_APPS``.
|
1. Add ``djrill`` to your ``INSTALLED_APPS``.
|
||||||
2. Add the following two lines, substituting your own ``MANDRILL_API_KEY``:
|
2. Add the following two lines, substituting your own ``MANDRILL_API_KEY``::
|
||||||
|
|
||||||
MANDRILL_API_KEY = "brack3t-is-awesome"
|
MANDRILL_API_KEY = "brack3t-is-awesome"
|
||||||
|
|
||||||
MANDRILL_API_URL = "http://mandrillapp.com/api/1.0"
|
MANDRILL_API_URL = "http://mandrillapp.com/api/1.0"
|
||||||
|
|
||||||
3. Override your existing email backend with the following line:
|
3. Override your existing email backend with the following line::
|
||||||
|
|
||||||
EMAIL_BACKEND = "djrill.mail.backends.djrill.DjrillBackend"
|
EMAIL_BACKEND = "djrill.mail.backends.djrill.DjrillBackend"
|
||||||
|
|
||||||
Usage
|
Usage
|
||||||
|
|||||||
Reference in New Issue
Block a user