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: object

Default 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.db in the project root.

Type:

str

SQLALCHEMY_TRACK_MODIFICATIONS

Disables the SQLAlchemy event system modification tracking. Defaults to False.

Type:

bool

SQLALCHEMY_DATABASE_URI: str = 'sqlite:///C:\\Users\\admin\\Desktop\\OpenSourceProg\\OSP_miniProject\\app.db'
SQLALCHEMY_TRACK_MODIFICATIONS: bool = False