From 50647a566b6d49d43708f77ae04127ac0d17f881 Mon Sep 17 00:00:00 2001 From: VivianDee <115420678+VivianDee@users.noreply.github.com> Date: Fri, 28 Mar 2025 08:41:07 +0100 Subject: [PATCH] Update __init__.py --- app/__init__.py | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/app/__init__.py b/app/__init__.py index 2a8d34d..2c29158 100644 --- a/app/__init__.py +++ b/app/__init__.py @@ -35,16 +35,7 @@ def create_app(): # Error Handlers register_error_handlers(app) - - import logging - from sqlalchemy import create_engine - - # Set up logging - logging.basicConfig(level=logging.INFO) - logger = logging.getLogger(__name__) - - # Log the database URI - logger.info(f"Database URI: {app.config['SQLALCHEMY_DATABASE_URI']}") + # Database and Migrations db.init_app(app)