diff options
author | Matthew Lemon <y@yulqen.org> | 2024-12-08 17:37:55 +0000 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-12-08 17:37:55 +0000 |
commit | f8095c75f880a099fb8f08e05a359755458ef79a (patch) | |
tree | 1a8bac72e594bba899385e5bf1d283207730aa0e /config/settings/production.py | |
parent | bc557f9ea2ec520533d0e697dbab8ae1539195c4 (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.py | 5 |
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") |