crunk-columns/app.py

17 lines
393 B
Python
Raw Normal View History

2023-06-03 18:12:55 +02:00
import os
from flask import Flask
2023-06-03 18:12:55 +02:00
# from flask_sqlalchemy import SQLAlchemy
# db = SQLAlchemy()
# migrate = Migrate()
2023-06-03 18:12:55 +02:00
def create_app():
APP = Flask(__name__)
# APP.config["SQLALCHEMY_DATABASE_URI"] = "sqlite:///data/crunk_data.db"
# APP.config["SQLALCHEMY_TRACK_MODIFICATIONS"] = True
2023-06-03 18:12:55 +02:00
# db.init_app(APP)
# migrate.init_app(APP, db, render_as_batch=True)
return APP