From f8095c75f880a099fb8f08e05a359755458ef79a Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Sun, 8 Dec 2024 17:37:55 +0000 Subject: Uses Mailgun for production and local settings - credentials are in the .env file - uses the mailgun http API to send verification messages --- config/settings/production.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'config/settings/production.py') diff --git a/config/settings/production.py b/config/settings/production.py index f8e48ac..cfd7d78 100644 --- a/config/settings/production.py +++ b/config/settings/production.py @@ -226,4 +226,7 @@ LOGGING = { # Your stuff... -# ------------------------------------------------------------------------------ +# My manual Mailgun stuff +MAILGUN_API_KEY = env("MAILGUN_API_KEY") +MAILGUN_SENDER_DOMAIN = env("MAILGUN_DOMAIN") +MAILGUN_API_URL = env("MAILGUN_API_URL", default="https://api.eu.mailgun.net/v3") -- cgit v1.2.3