Add 'app/init.py'

This commit is contained in:
mm 2023-03-18 22:49:25 +00:00
parent 3341e6d1d6
commit 6bf3504df1

9
app/init.py Normal file
View File

@ -0,0 +1,9 @@
from flask import Flask
from flask_sqlalchemy import SQLAlchemy
app = Flask(__name__)
app.config.from_pyfile('config.py')
db = SQLAlchemy(app)
from app import routes