igdb/code/app/__init__.py

11 lines
198 B
Python
Raw Normal View History

2020-01-08 05:51:10 +01:00
from flask import Flask
2020-01-08 21:31:00 +01:00
from config import Config
from flask_sqlalchemy import SQLAlchemy
2020-01-08 05:51:10 +01:00
app = Flask(__name__)
2020-01-08 21:31:00 +01:00
app.config.from_object(Config)
db = SQLAlchemy(app)
2020-01-08 05:51:10 +01:00
2020-01-08 21:31:00 +01:00
from app import routes, models