from flask import Flask
from flask_sqlalchemy import SQLAlchemy
import os
from flask_migrate import Migrate
from config import Config
from flask_login import LoginManager


app = Flask(__name__)
app.config.from_object(Config)
db = SQLALchemy(app)
migrate = Migrate(app,db)
login = LoginManager(app)
login.login_view='login'

from app import routes, models
