This commit is contained in:
2023-07-21 18:43:49 +02:00
commit 85a90a8fc1
9 changed files with 509 additions and 0 deletions

12
__init__.py Normal file
View File

@@ -0,0 +1,12 @@
from flask import Flask
from flask_sqlalchemy import SQLAlchemy
app = Flask(__name__)
app.config.from_object("config.DevelopmentConifg")
app.config["SQLALCHEMY_DATABASE_URI"] = "sqlite:///app.db"
app.config["SQLALCHEMY_TRACK_MODIFICATIONS"] = False
db = SQLAlchemy(app)
from . import routes