Browse Source

Add 'app/init.py'

main
mm 2 years ago
parent
commit
6bf3504df1
  1. 9
      app/init.py

9
app/init.py

@ -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
Loading…
Cancel
Save