mirror of
https://github.com/QingdaoU/OnlineJudge.git
synced 2025-01-01 10:02:01 +00:00
增加smtp密码和网站名称设置说明
This commit is contained in:
parent
f7b5359c40
commit
3d0689eff6
@ -4,14 +4,14 @@ import os
|
||||
|
||||
WEBSITE_INFO = {"website_name": u"example大学 OnlineJudge",
|
||||
"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": u"https://your-domain-or-ip.com"}
|
||||
"url": u"http://your-domain-or-ip.com"}
|
||||
|
||||
|
||||
SMTP_CONFIG = {"smtp_server": "smtp.xxx.com",
|
||||
"email": "noreply@xxx.com",
|
||||
"password": os.environ.get("smtp_password", "111111"),
|
||||
SMTP_CONFIG = {"smtp_server": "smtp.domain.com",
|
||||
"email": "noreply@domain.com",
|
||||
"password": "your_password",
|
||||
"tls": False}
|
||||
|
||||
# please set your own SECRET_KEY to a long random string
|
||||
|
Loading…
Reference in New Issue
Block a user