From 3809d3d2e2c6f0e8f268f92e2e4932d302aab74d Mon Sep 17 00:00:00 2001 From: medmunds Date: Mon, 24 Jul 2017 11:13:59 -0700 Subject: [PATCH] Mailjet: correct settings docs `MAILJET_SECRET_KEY` not `MAILJET_API_SECRET`. (Heading was correct; text and example were wrong.) Fixes #71 --- docs/esps/mailjet.rst | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/docs/esps/mailjet.rst b/docs/esps/mailjet.rst index 847110e..b4dde00 100644 --- a/docs/esps/mailjet.rst +++ b/docs/esps/mailjet.rst @@ -41,22 +41,21 @@ in your settings.py. .. rubric:: MAILJET_API_KEY and MAILJET_SECRET_KEY -Your Mailjet API key and secret, from your Mailjet account REST API settings +Your Mailjet API key and secret key, from your Mailjet account REST API settings under `API Key Management`_. (Mailjet's documentation also sometimes uses -"API private key" to mean the same thing as "API secret.") +"API private key" to mean the same thing as "secret key.") .. code-block:: python ANYMAIL = { ... "MAILJET_API_KEY": "", - "MAILJET_API_SECRET": "", + "MAILJET_SECRET_KEY": "", } You can use either a master or sub-account API key. - -Anymail will also look for ``MAILJET_API_KEY`` and ``MAILJET_API_SECRET`` at the +Anymail will also look for ``MAILJET_API_KEY`` and ``MAILJET_SECRET_KEY`` at the root of the settings file if neither ``ANYMAIL["MAILJET_API_KEY"]`` nor ``ANYMAIL_MAILJET_API_KEY`` is set.