What is the primary configuration file in Flask?

What is the primary configuration file in Flask?

a) config.py
b) settings.py
c) flask.py
d) app.py

Answer:

a) config.py

Explanation:

The config.py file is typically used to store configuration variables such as secret keys, database URLs, and debug settings in a Flask project.

Reference:

Flask Quiz – MCQ Questions and Answers

Scroll to Top