diff options
Diffstat (limited to 'config/settings/production.py')
-rw-r--r-- | config/settings/production.py | 23 |
1 files changed, 2 insertions, 21 deletions
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'} |