报错,代码与老师的一样
来源:4-9 打造高可用flask mvc框架
幕布斯828814
2018-11-14
E:\python3.7\lib\site-packages\flask_sqlalchemy\__init__.py:774: UserWarning: Ne
ither SQLALCHEMY_DATABASE_URI nor SQLALCHEMY_BINDS is set. Defaulting SQLALCHEMY
_DATABASE_URI to "sqlite:///:memory:".
'Neither SQLALCHEMY_DATABASE_URI nor SQLALCHEMY_BINDS is set. '
E:\python3.7\lib\site-packages\flask_sqlalchemy\__init__.py:794: FSADeprecationW
arning: SQLALCHEMY_TRACK_MODIFICATIONS adds significant overhead and will be dis
abled by default in the future. Set it to True or False to suppress this warnin
g.
'SQLALCHEMY_TRACK_MODIFICATIONS adds significant overhead and '
positional arguments:] {runserver,shell} ...
{runserver,shell}
runserver Runs the Flask development server i.e. app.run()
shell Runs a Python shell inside Flask application context.
2回答
-
编程浪子
2018-11-15
在哪里执行 python manager.py runserver 就在哪里设置环境变量
00 -
编程浪子
2018-11-15
群公告中有的哇,要设置环境变量
032018-11-15
相似问题