first commit
This commit is contained in:
8
app/configs/development.py
Normal file
8
app/configs/development.py
Normal file
@ -0,0 +1,8 @@
|
||||
from .default import * # NOQA F401
|
||||
|
||||
# 数据库配置
|
||||
SQLALCHEMY_DATABASE_URI = 'mysql+pymysql://demo:demo123@192.168.2.9:3306/flask_demo'
|
||||
# SQLALCHEMY_DATABASE_URI = 'mysql+pymysql://demo:demo123@192.168.2.9:3306/flask_demo?allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai'
|
||||
SQLALCHEMY_TRACK_MODIFICATIONS = False
|
||||
# 查询时会显示原始SQL语句
|
||||
SQLALCHEMY_ECHO = True
|
Reference in New Issue
Block a user