forked from eric.li/EditionPN
11 lines
257 B
Python
11 lines
257 B
Python
|
from flask import Flask
|
||
|
from config import Config
|
||
|
from flask_sqlalchemy import SQLAlchemy
|
||
|
from flask_migrate import Migrate
|
||
|
|
||
|
app = Flask(__name__)
|
||
|
app.config.from_object(Config)
|
||
|
db = SQLAlchemy(app)
|
||
|
migrate = Migrate(app, db)
|
||
|
|
||
|
from app import routes, models
|