flask 非要将视图和app放在一个空间
就这样很不。。 from flask import Blueprint admin = Blueprint('admin', __name__, url_prefix='/admin') from . import views
https://dormousehole.readthedocs.io/en/latest/patterns/packages.html
就这样很不。。 from flask import Blueprint admin = Blueprint('admin', __name__, url_prefix='/admin') from . import views
https://dormousehole.readthedocs.io/en/latest/patterns/packages.html