资源简介
information.zip

代码片段和文件信息
from redis import StrictRedis
class Config:
#开启调试模式
DEBUG = None
#密钥
SECRET_KEY = “AAA“
#Mysql数据库配置
SQLALCHEMY_DATAbase_URI = “mysql://root:mysql@localhost/information“
#设置数据库动态修改追踪
SQLALCHEMY_TRACK_MODIFICATIONS = True
#自动保存
SQLALCHEMY_COMMIT_ON_TEARDOWN = True
#使用redis保存session信息
SESSION_TYPE = “redis“
#session签名
SESSION_USE_SIGNER = True
#配置redis信息
REDIS_HOST = “127.0.0.1“
REDIS_PORT = 6379
#将session存入redis对象中
SESSION_REDIS = StrictRedis(host=REDIS_HOSTport=REDIS_PORT)
#设置过期时间
PERMANENT_SESSION_LIFETIME = 100000
#开发模式
class developmentConfig(Config):
DEBUG = True
#生产模式
class productionConfig(Config):
DEBUG = False
config = {
“development“:developmentConfig
“production“:productionConfig
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2018-07-05 10:17 information\
目录 0 2018-07-05 10:17 information\.git\
文件 23 2018-07-05 10:17 information\.git\HEAD
文件 305 2018-07-05 10:17 information\.git\config
文件 73 2018-07-05 10:17 information\.git\desc
目录 0 2018-07-05 10:17 information\.git\hooks\
文件 478 2018-07-05 10:17 information\.git\hooks\applypatch-msg.sample
文件 896 2018-07-05 10:17 information\.git\hooks\commit-msg.sample
文件 189 2018-07-05 10:17 information\.git\hooks\post-update.sample
文件 424 2018-07-05 10:17 information\.git\hooks\pre-applypatch.sample
文件 1642 2018-07-05 10:17 information\.git\hooks\pre-commit.sample
文件 1348 2018-07-05 10:17 information\.git\hooks\pre-push.sample
文件 4951 2018-07-05 10:17 information\.git\hooks\pre-reba
文件 1239 2018-07-05 10:17 information\.git\hooks\prepare-commit-msg.sample
文件 3610 2018-07-05 10:17 information\.git\hooks\update.sample
文件 42037 2018-07-05 10:17 information\.git\index
目录 0 2018-07-05 10:17 information\.git\info\
文件 240 2018-07-05 10:17 information\.git\info\exclude
目录 0 2018-07-05 10:17 information\.git\logs\
文件 190 2018-07-05 10:17 information\.git\logs\HEAD
目录 0 2018-07-05 10:17 information\.git\logs\refs\
目录 0 2018-07-05 10:17 information\.git\logs\refs\heads\
文件 190 2018-07-05 10:17 information\.git\logs\refs\heads\master
目录 0 2018-07-05 10:17 information\.git\logs\refs\remotes\
目录 0 2018-07-05 10:17 information\.git\logs\refs\remotes\origin\
文件 190 2018-07-05 10:17 information\.git\logs\refs\remotes\origin\HEAD
目录 0 2018-07-05 10:17 information\.git\ob
目录 0 2018-07-05 10:17 information\.git\ob
目录 0 2018-07-05 10:17 information\.git\ob
文件 17984 2018-07-05 10:17 information\.git\ob
文件 2299371 2018-07-05 10:17 information\.git\ob
............此处省略469个文件信息
相关资源
- 交通灯multisim仿真(附图)
- powerdesigner 15.1 license key
- powerdesigner15.0的注册码license key
- visio软件64位破解版本
- Internet Explorer 11 Windows 系统 各版本
-
开机速度优化工具Startup Dela
yer3.0中 - tomcat 8.0 32位 绿色版
- 四路抢答器
- SolidWorks-100多个
- delphi源码-检测是否运行了多个程序
- 希捷硬盘套件助系统构建商把握Vist
- 可以在XE下使用的DosCommand,捕获控制
- 如何使用VC和OD调试OCX控件
- 计算机三级-网络技术-第4大题题库-共
- 雷柏v700s机械键盘驱动 v1.0.0.1 官方版
- weui手机商城模板在线
- BMA250手册word和PDF(博文配到资源)
- Delphi时钟助手源码,定时关机、提醒
- Cisco无线AP全部配置文件(AIR-1200系列
- 安卓手机PC端一键重启工具
- ManualIciMapping_v3.1
- 集客9341固件ap
- 遍历USB设备,获取USB序列号
- delphi源码-实现软件注册机
- Microservices_Designing_Deploying
-
Design for em
bedded Image Processing on FPG - GNU/Linux系统开发者需要从桌面突破
- Concurrency in Go(EarlyRelease) 无水印p
- cfx中ccl语言使用手册
- 单元测试一条龙1.50final
评论
共有 条评论