From 3d0689eff65be9daf91611dc832f903cafb8052e Mon Sep 17 00:00:00 2001
From: virusdefender <1670873886@qq.com>
Date: Sun, 3 Apr 2016 13:15:05 +0800
Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0smtp=E5=AF=86=E7=A0=81?=
=?UTF-8?q?=E5=92=8C=E7=BD=91=E7=AB=99=E5=90=8D=E7=A7=B0=E8=AE=BE=E7=BD=AE?=
=?UTF-8?q?=E8=AF=B4=E6=98=8E?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
oj/custom_settings.example.py | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/oj/custom_settings.example.py b/oj/custom_settings.example.py
index 3e7082b..174e694 100644
--- a/oj/custom_settings.example.py
+++ b/oj/custom_settings.example.py
@@ -4,14 +4,14 @@ import os
WEBSITE_INFO = {"website_name": u"example大学 OnlineJudge",
"website_name_shortcut": u"example oj",
- "website_footer": u"example大学信息学院京ICP备xxxxx号-1",
+ "website_footer": u"example大学foobar学院 京ICP备10086号-1",
# 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