Where is the config file located?

The configuration file is typically located in the same directory as your application or in a designated configuration directory. In the context provided, a configuration file named config.py is created and should be in the same directory as your main application file (e.g., app.py).

You can load it in your application using:

app.config.from_object('config')

Make sure to adjust the path if your project structure is different.

0 Comments

no data
Be the first to share your comment!