From bd227f6b0e32543bae2862e0121aa5208c00563f Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Thu, 27 Mar 2025 06:54:53 +0000 Subject: [PATCH] settingschangeswithAutoMAIL --- kitchen_counter/MNF/settings.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kitchen_counter/MNF/settings.py b/kitchen_counter/MNF/settings.py index e2885e3..bdf5495 100755 --- a/kitchen_counter/MNF/settings.py +++ b/kitchen_counter/MNF/settings.py @@ -168,6 +168,7 @@ print("STATIC_ROOT:",STATIC_ROOT) SECURE_PROXY_SSL_HEADER =("HTTP_X_FORWARDED_PROTO",'https') CSRF_TRUSTED_ORIGINS = [os.environ.get('CSRF_TRUSTED_ORIGINS')] +SITE_DOMAIN = os.environ.get('SITE_DOMAIN') # rest framework @@ -654,7 +655,8 @@ EMAIL_USE_TLS = True # Enable TLS/STARTTLS if required # SMTP authentication settings #EMAIL_HOST_USER = 'your_email@example.com' # Replace with your email address -EMAIL_HOST_PASSWORD = 'iiby yciy jdux fslv' # Replace with your email password +EMAIL_HOST_USER_NAME = os.environ.get('EMAIL_HOST_USER_NAME') +EMAIL_HOST_PASSWORD = os.environ.get('EMAIL_HOST_PASSWORD') # Reace with your email password EMAIL_HOST_USER = os.environ.get('EMAIL_HOST_USER') smtp_host = os.environ.get('SMTP_HOST')