From 0b6cb4ef19fd34d8f26acab8a15dd74b14b423fc Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Sat, 25 Jul 2020 19:14:27 +0200 Subject: [PATCH] Production is not debug --- note_kfet/settings/production.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/note_kfet/settings/production.py b/note_kfet/settings/production.py index f5e133b1..b7b8856e 100644 --- a/note_kfet/settings/production.py +++ b/note_kfet/settings/production.py @@ -25,7 +25,7 @@ DATABASES = { } # Break it, fix it! -DEBUG = True +DEBUG = False # Mandatory ! ALLOWED_HOSTS = [os.environ.get('NOTE_URL', 'localhost')] @@ -36,7 +36,7 @@ SECRET_KEY = os.environ.get('DJANGO_SECRET_KEY', 'CHANGE_ME_IN_ENV_SETTINGS') EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend' EMAIL_USE_SSL = False EMAIL_HOST = os.getenv('EMAIL_HOST', 'smtp.example.org') -EMAIL_PORT = os.getenv('EMAIL_PORT', 443) +EMAIL_PORT = os.getenv('EMAIL_PORT', 465) EMAIL_HOST_USER = os.getenv('EMAIL_USER', 'change_me') EMAIL_HOST_PASSWORD = os.getenv('EMAIL_PASSWORD', 'change_me')