diff options
author | Ben Copeland <ben.copeland@linaro.org> | 2018-01-16 23:56:16 +0000 |
---|---|---|
committer | Benjamin Copeland <ben.copeland@linaro.org> | 2018-01-17 16:31:49 +0000 |
commit | b4bb5c68814676963c08f73370b12c765d63d6ad (patch) | |
tree | 087b5f5b7ab048d80a687f0f0fbf83f4b56288f1 | |
parent | 17a715ca79395d57e9cc77e095ec8304a1319bfe (diff) |
Settings: Disable SMTP
Settings is used for local testing, normally with our unit-test.sh
script or runserver. We don't need to worry about SMTP, by disabling it
will allow Django to start up and not hang on waiting for a SMTP server.
Change-Id: I5fd5b129dd4f67cce745be398319b08af1602f42
Reviewed-on: https://review.linaro.org/23409
Reviewed-by: Kelley Spoon <kelley.spoon@linaro.org>
-rw-r--r-- | settings.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/settings.py b/settings.py index 217c628..8068a89 100644 --- a/settings.py +++ b/settings.py @@ -16,6 +16,7 @@ TEMPLATES_PATH = os.path.join(ROOT_PATH, "templates") TEXTILE_FALLBACK_PATH = os.path.join(TEMPLATES_PATH, "textile_fallbacks") REPORT_CSV = os.path.join(PROJECT_ROOT, "download_report.csv") S3_PURGE_EXCLUDES = [] +EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend' ADMINS = ( ('linaro-infrastructure', 'linaro-infrastructure-errors@linaro.org'), |