浏览代码

add email from on example

Roberto Berto 4 年之前
父节点
当前提交
ee882ffed9
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      vycontrol/vycontrol/settings/production.py

+ 1 - 0
vycontrol/vycontrol/settings/production.py

@@ -17,6 +17,7 @@ EMAIL_PORT = 587
 EMAIL_HOST_USER = 'user'
 EMAIL_HOST_PASSWORD = 'password'
 EMAIL_USE_TLS = True
+DEFAULT_FROM_EMAIL = '"VyControl" <contact@vycontrol.com>'
 
 
 # SECURITY WARNING: keep the secret key used in production secret!