- python
- django
- mysql
- html,css,zepto.js
- weui,weui.js
- django-ckeditor
- smart_selects,
- nginx
- uwsgi
mao>settings.py
# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = ''
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
ALLOWED_HOSTS = ['','127.0.0.1']
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'gaomao',
'USER':'root',
'PASSWORD':'',#填写你的数据库密码
'HOST':'',
'PORT':'3306',
'CONN_MAX_AGE':60*10,
'OPTIONS':{
'init_command':"SET sql_mode='STRICT_TRANS_TABLES'",
}
}
}
#微信登录支付相关配置,还有微信支付商户账号等
WECHAT_TOKEN = ''
EncodingAESKey =''
WECHAT_APPID = ''
WECHAT_SECRET=''
WECHAT_MCH_ID=''
WECHAT_API_KEY=''
WECHAT_REDIRECT_URL=''