Flask - A blueprint's name collision occurred Flask - A blueprint's name collision occurred flask flask

Flask - A blueprint's name collision occurred


It looks like your app is registering the Bootstrap blueprint twice. There is a line in the Bootstrap's source code which does register it in init_app()

Try either removing it from here:

    ...    bootstrap,    db,    ma,  # Warning: Flask-SQLAlchemy must be initialized before Flask-Marshmallow.    login_manager,

or from this tuple:

# Blueprint List: Wrap up the all blueprints    buleprints = (        dict(blueprint=users.users_bp, url_prefix='/users'),        dict(blueprint=web_bp, url_prefix=''),    )