Skip to content
Snippets Groups Projects
Commit 0863921e authored by Stein Elgethun's avatar Stein Elgethun
Browse files

Comment out real mail backend

Just print mails to console instead so no one sends real emails on accident

Issue: GREG-42
parent 93d77f86
No related branches found
No related tags found
1 merge request!83Greg 42 email
Pipeline #95808 passed
......@@ -3,11 +3,12 @@ from .base import *
# This is the default configuration file when running manage.py
ALLOWED_HOSTS += ["localhost", "127.0.0.1"]
EMAIL_HOST = "smtp.uio.no"
EMAIL_PORT = "468"
EMAIL_USE_SSL = True
EMAIL_TIMEOUT = 2
DEFAULT_FROM_EMAIL = "noreply@uio.no"
# EMAIL_HOST = "smtp.uio.no"
# EMAIL_PORT = "468"
# EMAIL_USE_SSL = True
# EMAIL_TIMEOUT = 2
# DEFAULT_FROM_EMAIL = "noreply@uio.no"
EMAIL_BACKEND = "django.core.mail.backends.console.EmailBackend"
try:
from .local import *
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment