增加smtp密码和网站名称设置说明
This commit is contained in:
@@ -4,14 +4,14 @@ import os
|
|||||||
|
|
||||||
WEBSITE_INFO = {"website_name": u"example大学 OnlineJudge",
|
WEBSITE_INFO = {"website_name": u"example大学 OnlineJudge",
|
||||||
"website_name_shortcut": u"example oj",
|
"website_name_shortcut": u"example oj",
|
||||||
"website_footer": u"example大学信息学院<a href=\"http://www.miibeian.gov.cn/\">京ICP备xxxxx号-1</a>",
|
"website_footer": u"example大学foobar学院 <a href=\"http://www.miibeian.gov.cn/\">京ICP备10086号-1</a>",
|
||||||
# url结尾没有/
|
# url结尾没有/
|
||||||
"url": u"https://your-domain-or-ip.com"}
|
"url": u"http://your-domain-or-ip.com"}
|
||||||
|
|
||||||
|
|
||||||
SMTP_CONFIG = {"smtp_server": "smtp.xxx.com",
|
SMTP_CONFIG = {"smtp_server": "smtp.domain.com",
|
||||||
"email": "noreply@xxx.com",
|
"email": "noreply@domain.com",
|
||||||
"password": os.environ.get("smtp_password", "111111"),
|
"password": "your_password",
|
||||||
"tls": False}
|
"tls": False}
|
||||||
|
|
||||||
# please set your own SECRET_KEY to a long random string
|
# please set your own SECRET_KEY to a long random string
|
||||||
|
|||||||
Reference in New Issue
Block a user