<filename>app/__init__.py<gh_stars>1-10
#encoding:utf-8
from flask import Flask
from flask_sqlalchemy import SQLAlchemy
import config

app = Flask(__name__)
app.config.from_object(config)

db = SQLAlchemy(app)

from app import req_demo, res_demo, models
<filename>app/__init__.py<gh_stars>1-10
#encoding:utf-8
from flask import Flask
from flask_sqlalchemy import SQLAlchemy
import config

app = Flask(__name__)
app.config.from_object(config)

db = SQLAlchemy(app)

from app import req_demo, res_demo, models
#encoding:utf-8