File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change 11# coding=utf-8
22
3+ # debug模式主要用在gunicorn启动的时候可能看到错误堆栈
34DEBUG = True
45SECRET_KEY = 'o\xdd \x02 I\x0b \xbb BP4\x97 \xab \xe0 GF\xfb a\x14 _\x03 \xa9 \xe8 \xfa \xf8 c' # noqa
56
7+ # clask chat token 注册地址: https://api.slack.com/web
68SLACK_CHAT_TOKEN = 'xoxp-4231087425-4231087427-4463321974-03a74a'
9+ # 你希望slack的outgoing-webhook调用你的回调的路由
710SLACK_CALLBACK = '/slack_callback'
8- REDIS_URL = 'redis://:password@localhost:6379/0'
11+ # 使用Github-issue插件需要指定组织的地址
912ORG_NAME = 'python-cn'
13+ # 百度地图api key, 注册地址: http://lbsyun.baidu.com/apiconsole/key
1014BAIDU_AK = '18691b8e4206238f331ad2e1ca88357e'
15+ # simsim key, 注册地址: http://developer.simsimi.com/
1116SIMSIMI_KEY = '50c086cb-5ea3-4190-bdd6-69787a540ec4'
17+ # 大众点评应用, 注册地址: http://developer.dianping.com/dashboard/info/app
1218DIANPING_APPKEY = '41502445'
1319DIANPING_SECRET = 'f0c2cc0b4f1048bebffc1527acbaeeb8'
1420
21+ # Flask-cache的类型, 默认为SimpleCache
1522CACHE_TYPE = 'simple'
23+ # 假如使用RedisCache, 也就是CACHE_TYPE = 'redis'需要配置CACHE_REDIS_URL
24+ CACHE_REDIS_URL = 'redis://user:password@localhost:6379/0'
1625
26+ # 使用`python manage.py send`时候的模拟数据
1727TEST_DATA = {
1828 'token' : 'jLGMzrZn3P1lS2sD848KpPuN' ,
1929 'text' : 'text' ,
You can’t perform that action at this time.
0 commit comments