mirror of
https://github.com/QingdaoU/OnlineJudge.git
synced 2024-09-21 08:23:20 +00:00
修改配置项目
This commit is contained in:
parent
d5ab12bb32
commit
a36268bcc8
@ -1,6 +1,6 @@
|
||||
# coding=utf-8
|
||||
redis_config = {
|
||||
"host": "121.42.196.141",
|
||||
"host": "121.42.32.129",
|
||||
"port": 6379,
|
||||
"db": 0
|
||||
}
|
||||
|
@ -18,7 +18,7 @@ DATABASES = {
|
||||
|
||||
# 这是web 服务器连接到mongodb 的地址
|
||||
MONGODB = {
|
||||
'HOST': '121.42.196.141',
|
||||
'HOST': '121.42.32.129',
|
||||
'USERNAME': 'root',
|
||||
'PASSWORD': 'root',
|
||||
'PORT': 27017
|
||||
|
@ -5,4 +5,4 @@ register = template.Library()
|
||||
|
||||
@register.simple_tag
|
||||
def show_website_info(name):
|
||||
return {"website_name": "qduoj", "website_footer": u"青岛大学创新实验室"}[name]
|
||||
return {"website_name": "qduoj", "website_footer": u"青岛大学信息工程学院 创新实验室"}[name]
|
||||
|
Loading…
Reference in New Issue
Block a user