From d94f0b3affa37a98aaff637ead592b4820582fd6 Mon Sep 17 00:00:00 2001 From: Kabirou ALASSANE <86885681+BlakvGhost@users.noreply.github.com> Date: Fri, 17 May 2024 22:04:30 +0100 Subject: [PATCH] Updating FTP credentials for deployment on my new server --- TimeTable/settings.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/TimeTable/settings.py b/TimeTable/settings.py index 4b62db4..ded4ddf 100755 --- a/TimeTable/settings.py +++ b/TimeTable/settings.py @@ -30,7 +30,7 @@ else: DEBUG = True -ALLOWED_HOSTS = ["webp2ms.kabirou-alassane.com", 'localhost', '127.0.0.1'] +ALLOWED_HOSTS = ["webp2ms.username-blakvghost.com", 'localhost', '127.0.0.1'] # Application definition @@ -142,12 +142,12 @@ LOGIN_URL = '/auth/login' EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend' -EMAIL_HOST = 'mail.kabirou-alassane.com' +EMAIL_HOST = config('EMAIL_HOST'), EMAIL_PORT = 465 -EMAIL_HOST_USER = 'no-reply@kabirou-alassane.com' -EMAIL_HOST_PASSWORD = 'jQ0yiv~!Y;&=' +EMAIL_HOST_USER = config('EMAIL_USERNAME') +EMAIL_HOST_PASSWORD = config('EMAIL_PASSWORD') EMAIL_USE_SSL = True -DEFAULT_FROM_EMAIL = 'no-reply@kabirou-alassane.com' +DEFAULT_FROM_EMAIL = config('EMAIL_USERNAME') # Default primary key field type