AssertionError: A blueprint's name collision occurred
问题 I'm trying to extend the flask-base project https://github.com/hack4impact/flask-base/tree/master/app. This uses the the application factory pattern in app/init.py and blueprints. I'm struggling to get the most basic functionality working so now I'm trying to follow https://flask-admin.readthedocs.io/en/v1.1.0/_sources/quickstart.txt In the app/init.py I have: from flask_admin import Admin .... adm = Admin(name='admin2') def create_app(config_name): app = Flask(__name__) app.config.from