def configure_blueprints(app):
 from user import user
 from frontend import frontend
 from api import api
 for bp in [user, frontend, api]:
  app.register_blueprint(bp)

def configure_blueprints ( app ) : from user import user from frontend import frontend from api import api for bp in [ user , frontend , api ] : app . register_blueprint ( bp )
configure blueprints in views .