Flask: are blueprints necessary for app factories?
I want to have several app factories(currently: one for development, and another one for testing). I am wondering what is the proper way to implement them. Currently I use app object to register views(via @app.route() decorator). Do I need to start using blueprints(instead of app) to register views? Is there any way to have proper app factories without blueprients? technically, you don't need blueprints, you can just register each route on your create_app function. Generally speaking that's not a great idea, and it's kind of why blueprints exist. Example without blueprints def create_app():