I want to connect to the database in Flask before the first request the user makes. But the latest version of Flask that I use has removed @app.before_first_request And I want to know what to use instead? I've seen a lot of people saying to use @app.before_request, but it seems like this is executed before every user request. Continue reading...