OnlineJudge/oj/custom_settings.example.py

18 lines
595 B
Python
Raw Normal View History

# coding=utf-8
import os
# please set your own SECRET_KEY to a long random string
SECRET_KEY = None
2016-02-18 00:56:50 +00:00
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>",
"url": u"https://your-domain-or-ip.com"}
SMTP_CONFIG = {"smtp_server": "smtp.xxx.com",
"email": "noreply@xxx.com",
"password": os.environ.get("smtp_password", "111111"),
"tls": False}