Skip to content

Commit

Permalink
remove django anymail config (#1396)
Browse files Browse the repository at this point in the history
Co-authored-by: Vignesh Hari <vichuhari100@gmail.com>
  • Loading branch information
sainak and vigneshhari authored Jun 21, 2023
1 parent 5527ec7 commit 0da2b88
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 24 deletions.
20 changes: 0 additions & 20 deletions config/settings/deployment.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,21 +57,6 @@
# ------------------------------------------------------------------------------
EMAIL_USE_TLS = True

# Anymail
# ------------------------------------------------------------------------------
# https://anymail.readthedocs.io/en/stable/installation/#installing-anymail
# INSTALLED_APPS += ["anymail"] # noqa F405
# 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"),
# }


# LOGGING
# ------------------------------------------------------------------------------
# https://docs.djangoproject.com/en/dev/ref/settings/#logging
Expand Down Expand Up @@ -102,11 +87,6 @@
},
# Errors logged by the SDK itself
"sentry_sdk": {"level": "ERROR", "handlers": ["console"], "propagate": False},
"django.security.DisallowedHost": {
"level": "ERROR",
"handlers": ["console"],
"propagate": False,
},
},
}

Expand Down
4 changes: 0 additions & 4 deletions requirements/production.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,3 @@
gunicorn==20.1.0 # https://github.com/benoitc/gunicorn
sentry-sdk # https://github.com/getsentry/sentry-python
newrelic

# Django
# ------------------------------------------------------------------------------
django-anymail[mailgun]==7.0.0 # https://github.com/anymail/django-anymail

0 comments on commit 0da2b88

Please sign in to comment.