settingschangeswithAutoMAIL

This commit is contained in:
Ubuntu 2025-03-27 06:54:53 +00:00
parent 4328f828ea
commit bd227f6b0e
1 changed files with 3 additions and 1 deletions

View File

@ -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')