Using this Flask bootstrap project, I'd like to specify some parameters that must be defined in the Flask object creation (like template_folder, static_url_path and static_path)
Here's the starting part of the code :
app_name = app_name or __name__
app = Flask(app_name)
config = config_str_to_obj(config)
configure_app(app, config)
configure_logger(app, config)
configure_blueprints(app, blueprints or config.BLUEPRINTS)
configure_error_handlers(app)
configure_database(app)
configure_context_processors(app)
configure_template_filters(app)
configure_extensions(app)
configure_before_request(app)
configure_views(app)
return app
But there is no way to specify the parameters indicated before.
How can I do that without hard writing them in this method (by using the Config object for example).