代码如图:
后来发现,是要把模块下的 声明的 Blueprint() 对象导入
导入进去就行了
或者把导包方式修改为:
flask 报错 AttributeError: module 'Include.route' has no attribute 'name'
原文:https://www.cnblogs.com/aizm/p/10463145.html