Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Discuss Data Project
Discuss Data
Commits
f82da5ac
Commit
f82da5ac
authored
Nov 25, 2020
by
felix.herrmann
Browse files
feat(mail): add django email console backend in local
parent
bda1dc8d
Changes
1
Hide whitespace changes
Inline
Side-by-side
config/settings/local.py
View file @
f82da5ac
...
...
@@ -22,6 +22,7 @@ ALLOWED_HOSTS = ["django", "localhost", "0.0.0.0", "127.0.0.1"]
EMAIL_HOST
=
env
(
"EMAIL_HOST"
,
default
=
"mailhog"
)
# https://docs.djangoproject.com/en/dev/ref/settings/#email-port
EMAIL_PORT
=
1025
EMAIL_BACKEND
=
"django.core.mail.backends.console.EmailBackend"
# WhiteNoise
# ------------------------------------------------------------------------------
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment