<reponame>shi-km/python4<filename>app/__init__.py<gh_stars>0
from flask import Flask
from .config import DevConfig
from flask_bootstrap import Bootstrap

app = Flask(__name__, instance_relative_config = True)

#setting up configuration
app.config.from_object(DevConfig)
app.config.from_pyfile('config.py')

# Initializing Flask Extensions
bootstrap = Bootstrap(app)

from app import views

from flask import Flask
from .config import DevConfig
from flask_bootstrap import Bootstrap

app = Flask(__name__, instance_relative_config = True)

#setting up configuration
app.config.from_object(DevConfig)
app.config.from_pyfile('config.py')

# Initializing Flask Extensions
bootstrap = Bootstrap(app)

from app import views
#setting up configuration # Initializing Flask Extensions