AttributeError ‘function‘ object has no attribute ‘route‘
1. 比较隐蔽的一个问题,问题代码如下 from app.settings import settings # the name settings refers to the blueprint imported above@settings.route('/a')def this_works(): ... # the name settings refers to the blueprint imported above@settings.route('/')def settings(): ... # the name settings now refers...
more...








