代码拉取完成,页面将自动刷新
# -*- coding: UTF-8 -*-
__author__ = 'kidozh'
import os
# keep in secret all the time
SECRET_KEY = '__please_input_your_secret_key___'
# host for database
DB_HOST = 'localhost'
# username for database
DB_USER = 'root'
# password for database
DB_PASSWD = ''
# database's type
DB_TYPE = 'mysql'
# driver for SQLalchemy
DB_DRIVER = ''
# which database we should choose
DB_NAME = '__please_specify_your_database_name___'
# for installed Apps we will search these string then
INSTALLED_APPS = (
'acmCralwer',
'contrib.admin',
'conf',
)
# for root urls
ROOT_URLCONF = 'urls'
# for log file
LOGFILE = 'log/site.log'
# LOGFILE = False
# for mail
MAIL_SERVER = "__your_server_name__"
MAIL_PORT = 465
MAIL_USERNAME = "xxx@xxx.xxx"
MAIL_PASSWORD = ""
# administrator list
ADMINS = ["xxx@xxx.xxx", ]
# set debug value according to system type
if os.environ.get('OS') == 'Windows_NT':
DEBUG = True
else:
DEBUG = False
DB_PASSWD = '__password__on__server'
DB_NAME = 'npuacm'
# for timezone
USE_TZ = True
TIME_ZONE = 'Asia/Shanghai'
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。