修改配置项目

This commit is contained in:
virusdefender 2015-08-16 08:47:03 +08:00
parent d5ab12bb32
commit a36268bcc8
3 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
# coding=utf-8 # coding=utf-8
redis_config = { redis_config = {
"host": "121.42.196.141", "host": "121.42.32.129",
"port": 6379, "port": 6379,
"db": 0 "db": 0
} }

View File

@ -18,7 +18,7 @@ DATABASES = {
# 这是web 服务器连接到mongodb 的地址 # 这是web 服务器连接到mongodb 的地址
MONGODB = { MONGODB = {
'HOST': '121.42.196.141', 'HOST': '121.42.32.129',
'USERNAME': 'root', 'USERNAME': 'root',
'PASSWORD': 'root', 'PASSWORD': 'root',
'PORT': 27017 'PORT': 27017

View File

@ -5,4 +5,4 @@ register = template.Library()
@register.simple_tag @register.simple_tag
def show_website_info(name): def show_website_info(name):
return {"website_name": "qduoj", "website_footer": u"青岛大学创新实验室"}[name] return {"website_name": "qduoj", "website_footer": u"青岛大学信息工程学院 创新实验室"}[name]