mail 拆分模块

增加 js 的压缩配置

修改设置,增加备案号

Squash from 3dd19cf to bfc4123 by virusdefender
This commit is contained in:
virusdefender
2015-12-07 19:14:43 +08:00
parent 6292592b98
commit 492e7446b1
8 changed files with 95 additions and 89 deletions

View File

@@ -50,7 +50,6 @@ INSTALLED_APPS = (
'submission',
'mq',
'contest',
'mail',
'django_extensions',
'rest_framework',
@@ -102,7 +101,7 @@ LANGUAGE_CODE = 'zh-cn'
TIME_ZONE = 'Asia/Shanghai'
USE_I18N = True
USE_I18N = False
USE_L10N = True
@@ -118,7 +117,6 @@ AUTH_USER_MODEL = 'account.User'
LOG_PATH = "log/"
LOGGING = {
'version': 1,
'disable_existing_loggers': True,
@@ -184,5 +182,10 @@ TEST_CASE_DIR = os.path.join(BASE_DIR, 'test_case/')
IMAGE_UPLOAD_DIR = os.path.join(BASE_DIR, 'upload/')
WEBSITE_INFO = {"website_name": "qduoj",
"website_footer": u"青岛大学信息工程学院 创新实验室",
"website_footer": u"青岛大学信息工程学院 创新实验室 <a href=\"http://www.miibeian.gov.cn/\">京ICP备15062075号-1</a>",
"url": "https://qduoj.com"}
SMTP_CONFIG = {"smtp_server": "smtp.mxhichina.com",
"email": "noreply@qduoj.com",
"password": os.environ.get("smtp_password", "111111"),
"tls": False}