diff --git a/README.rst b/README.rst index aabd192..99f6d15 100644 --- a/README.rst +++ b/README.rst @@ -94,10 +94,11 @@ or SparkPost or any other supported ESP where you see "mailgun": .. code-block:: python - INSTALLED_APPS = ( - ... - "anymail" - ) + INSTALLED_APPS = [ + # ... + "anymail", + # ... + ] ANYMAIL = { # (exact settings here depend on your ESP...) diff --git a/docs/installation.rst b/docs/installation.rst index 7d14cee..0144c3b 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -27,14 +27,15 @@ Configuring Django's email backend 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 - INSTALLED_APPS = ( - ... + INSTALLED_APPS = [ + # ... "anymail", - ) + # ... + ] 2. Add an :setting:`ANYMAIL` settings dict, substituting the appropriate settings for your ESP: