aboutsummaryrefslogtreecommitdiffstats
path: root/config/settings/production.py
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-12-08 17:37:55 +0000
committerMatthew Lemon <y@yulqen.org>2024-12-08 17:37:55 +0000
commitf8095c75f880a099fb8f08e05a359755458ef79a (patch)
tree1a8bac72e594bba899385e5bf1d283207730aa0e /config/settings/production.py
parentbc557f9ea2ec520533d0e697dbab8ae1539195c4 (diff)
Uses Mailgun for production and local settings
- credentials are in the .env file - uses the mailgun http API to send verification messages
Diffstat (limited to 'config/settings/production.py')
-rw-r--r--config/settings/production.py5
1 files changed, 4 insertions, 1 deletions
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")