Docs: clarify INSTALLED_APPS

* Trailing comma after "anymail" (see #40)
* Note order doesn't matter
* Change tuple to list (match examples to
  Django 1.9+ project template)

[ci skip]
This commit is contained in:
medmunds
2016-11-01 11:36:50 -07:00
parent f0589e3338
commit 1cced97f65
2 changed files with 10 additions and 8 deletions

View File

@@ -94,10 +94,11 @@ or SparkPost or any other supported ESP where you see "mailgun":
.. code-block:: python .. code-block:: python
INSTALLED_APPS = ( INSTALLED_APPS = [
... # ...
"anymail" "anymail",
) # ...
]
ANYMAIL = { ANYMAIL = {
# (exact settings here depend on your ESP...) # (exact settings here depend on your ESP...)

View File

@@ -27,14 +27,15 @@ Configuring Django's email backend
To use Anymail for sending email, edit your Django project's :file:`settings.py`: To use Anymail for sending email, edit your Django project's :file:`settings.py`:
1. Add :mod:`anymail` to your :setting:`INSTALLED_APPS`: 1. Add :mod:`anymail` to your :setting:`INSTALLED_APPS` (anywhere in the list):
.. code-block:: python .. code-block:: python
INSTALLED_APPS = ( INSTALLED_APPS = [
... # ...
"anymail", "anymail",
) # ...
]
2. Add an :setting:`ANYMAIL` settings dict, substituting the appropriate settings for 2. Add an :setting:`ANYMAIL` settings dict, substituting the appropriate settings for
your ESP: your ESP: