Update __init__.py

This commit is contained in:
VivianDee
2025-03-28 08:41:07 +01:00
parent 65efe0573a
commit 50647a566b
-9
View File
@@ -36,15 +36,6 @@ def create_app():
# Error Handlers # Error Handlers
register_error_handlers(app) 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 # Database and Migrations
db.init_app(app) db.init_app(app)