Skip to content

Commit 26ea8e1

Browse files
committed
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] (cherry picked from commit 1cced97)
1 parent 8c38b69 commit 26ea8e1

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

README.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,11 @@ or SparkPost or any other supported ESP where you see "mailgun":
9494

9595
.. code-block:: python
9696
97-
INSTALLED_APPS = (
98-
...
99-
"anymail"
100-
)
97+
INSTALLED_APPS = [
98+
# ...
99+
"anymail",
100+
# ...
101+
]
101102
102103
ANYMAIL = {
103104
# (exact settings here depend on your ESP...)

docs/installation.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,15 @@ Configuring Django's email backend
2727

2828
To use Anymail for sending email, edit your Django project's :file:`settings.py`:
2929

30-
1. Add :mod:`anymail` to your :setting:`INSTALLED_APPS`:
30+
1. Add :mod:`anymail` to your :setting:`INSTALLED_APPS` (anywhere in the list):
3131

3232
.. code-block:: python
3333
34-
INSTALLED_APPS = (
35-
...
34+
INSTALLED_APPS = [
35+
# ...
3636
"anymail",
37-
)
37+
# ...
38+
]
3839
3940
2. Add an :setting:`ANYMAIL` settings dict, substituting the appropriate settings for
4041
your ESP:

0 commit comments

Comments
 (0)