<filename>app.py
from flask import Flask
from config import Config
from flask_sqlalchemy import SQLAlchemy

app = Flask(__name__)
app.config.from_object(Config)
db = SQLAlchemy(app)

import routes, models


if __name__ == '__main__':
    app.run()

<filename>app.py
from flask import Flask
from config import Config
from flask_sqlalchemy import SQLAlchemy

app = Flask(__name__)
app.config.from_object(Config)
db = SQLAlchemy(app)

import routes, models


if __name__ == '__main__':
    app.run()
