app.config Module
Configuration module — Defines settings for the Y2K blog Flask app.
Manages the configuration class used across the Flask application, including SQLAlchemy database URI and tracking options.
- app.config.basedir: str = 'C:\\Users\\admin\\Desktop\\OpenSourceProg\\OSP_miniProject'
Absolute path to the project root directory.
- class app.config.Config[source]
Bases:
objectDefault configuration class for the Flask application.
Determines the behavior of Flask and SQLAlchemy through environment variables or default values. This class can be subclassed and overridden for testing.
- SQLALCHEMY_DATABASE_URI
SQLite database file path. Defaults to
app.dbin the project root.- Type:
- SQLALCHEMY_TRACK_MODIFICATIONS
Disables the SQLAlchemy event system modification tracking. Defaults to False.
- Type: