diff options
author | Matthew Lemon <y@yulqen.org> | 2024-12-31 14:21:34 +0000 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-12-31 14:21:34 +0000 |
commit | b00665b30423e4818afafdec305202797638e145 (patch) | |
tree | 6838471affc728174ccc72ca6a81bcba86308063 /config | |
parent | 9b17fa01ffe27c8063b9b45a7c5ae91007d5d2fd (diff) |
Removed Mailgun - all of itv.0.1-funnel
Diffstat (limited to 'config')
-rw-r--r-- | config/settings/base.py | 4 | ||||
-rw-r--r-- | config/settings/production.py | 23 |
2 files changed, 2 insertions, 25 deletions
diff --git a/config/settings/base.py b/config/settings/base.py index 991605c..aaf88fc 100644 --- a/config/settings/base.py +++ b/config/settings/base.py @@ -358,10 +358,6 @@ AWS_S3_ENDPOINT_URL = env("SPACES_ENDPOINT_URL") # Your stuff... # ------------------------------------------------------------------------------ -MAILGUN_API_KEY = env("MAILGUN_API_KEY") -MAILGUN_SENDER_DOMAIN = env("MAILGUN_SENDER_DOMAIN") -MAILGUN_API_URL = env("MAILGUN_API_URL", default="https://api.eu.mailgun.net/v3") - CACHES = { "default": { "BACKEND": "django.core.cache.backends.db.DatabaseCache", diff --git a/config/settings/production.py b/config/settings/production.py index 252f882..9a267e6 100644 --- a/config/settings/production.py +++ b/config/settings/production.py @@ -127,21 +127,7 @@ EMAIL_USE_TLS = env.bool("EMAIL_USE_TLS", default=True) # Django Admin URL regex. ADMIN_URL = env("DJANGO_ADMIN_URL") -# Anymail -# ------------------------------------------------------------------------------ -# https://anymail.readthedocs.io/en/stable/installation/#installing-anymail -# INSTALLED_APPS += ["anymail"] -# https://docs.djangoproject.com/en/dev/ref/settings/#email-backend -# https://anymail.readthedocs.io/en/stable/installation/#anymail-settings-reference -# https://anymail.readthedocs.io/en/stable/esps/mailgun/ -# EMAIL_BACKEND = "anymail.backends.mailgun.EmailBackend" -# ANYMAIL = { -# "MAILGUN_API_KEY": env("MAILGUN_API_KEY"), -# "MAILGUN_SENDER_DOMAIN": env("MAILGUN_DOMAIN"), -# "MAILGUN_API_URL": env("MAILGUN_API_URL", default="https://api.mailgun.net/v3"), -# } - -#EMAIL_BACKEND = "django.core.mail.backends.console.EmailBackend" +# EMAIL_BACKEND = "django.core.mail.backends.console.EmailBackend" # LOGGING # ------------------------------------------------------------------------------ @@ -233,12 +219,7 @@ LOGGING = { # Your stuff... -# My manual Mailgun stuff -MAILGUN_API_KEY = env("MAILGUN_API_KEY") -MAILGUN_SENDER_DOMAIN = env("MAILGUN_SENDER_DOMAIN") -MAILGUN_API_URL = env("MAILGUN_API_URL", default="https://api.eu.mailgun.net/v3") - USE_X_FORWARDED_HOST = True SECURE_PROXY_SSL_HEADER = ("HTTP_X_FORWARDED_PROTO", "https") RECAPTCHA_USE_SSL = True # Use HTTPS for requests -#RECAPTCHA_PROXY = {'http': 'http://127.0.0.1:5000', 'https': 'https://127.0.0.1:5000'} +# RECAPTCHA_PROXY = {'http': 'http://127.0.0.1:5000', 'https': 'https://127.0.0.1:5000'} |