mirror of
https://github.com/QingdaoU/OnlineJudge.git
synced 2025-11-04 14:49:58 +08:00
28 lines
789 B
Python
28 lines
789 B
Python
# coding=utf-8
|
|
import os
|
|
|
|
|
|
WEBSITE_INFO = {"website_name": u"example大学 OnlineJudge",
|
|
"website_name_shortcut": u"example oj",
|
|
"website_footer": u"example大学foobar学院 <a href=\"http://www.miibeian.gov.cn/\">京ICP备233333号-1</a>",
|
|
# url结尾没有/
|
|
"url": u"http://your-domain-or-ip.com"}
|
|
|
|
|
|
# https://github.com/QingdaoU/OnlineJudge/wiki/SMTP
|
|
SMTP_CONFIG = {"smtp_server": "smtp.domain.com",
|
|
"email": "noreply@domain.com",
|
|
"password": "your_password",
|
|
"port": 25,
|
|
"tls": True}
|
|
|
|
|
|
# 是否显示所有人的提交, False就只显示自己的
|
|
SHOW_ALL_SUBMISSIONS_LIST = False
|
|
|
|
|
|
# please set your own SECRET_KEY to a long random string
|
|
# SECRET_KEY = ""
|
|
|
|
|