mirror of
https://github.com/pacnpal/django-anymail.git
synced 2025-12-20 03:41:05 -05:00
docs docs docs
This commit is contained in:
28
README.rst
28
README.rst
@@ -4,19 +4,18 @@ Djrill, for Mandrill
|
||||
Djrill is an email backend and new message class for Django users that want to take advantage of the Mandrill transactional email
|
||||
service from MailChimp.
|
||||
|
||||
Dependencies
|
||||
Installation
|
||||
------------
|
||||
|
||||
::
|
||||
|
||||
pip install djrill
|
||||
|
||||
The only dependency other than Django is the ``requests`` library from Kenneth Reitz. If you do not
|
||||
install through PyPI you will need to do ::
|
||||
|
||||
pip install requests
|
||||
|
||||
Installation
|
||||
------------
|
||||
|
||||
``pip install djrill``
|
||||
|
||||
Configuration
|
||||
-------------
|
||||
|
||||
@@ -38,6 +37,23 @@ In ``settings.py``:
|
||||
|
||||
EMAIL_BACKEND = "djrill.mail.backends.djrill.DjrillBackend"
|
||||
|
||||
4. (optional) If you want to be able to add senders through Django's admin or view stats about your
|
||||
messages, do the following in your base ``urls.py`` ::
|
||||
|
||||
...
|
||||
from django.contrib import admin
|
||||
|
||||
from djrill import DjrillAdminSite
|
||||
|
||||
admin.site = DjrillAdminSite()
|
||||
admin.autodiscover()
|
||||
...
|
||||
|
||||
urlpatterns = patterns('',
|
||||
...
|
||||
url(r'^admin/', include(admin.site.urls)),
|
||||
)
|
||||
|
||||
Usage
|
||||
-----
|
||||
|
||||
|
||||
Reference in New Issue
Block a user