<filename>app/__init__.py<gh_stars>0
from flask import Flask
from .config import DevConfig
from flask_bootstrap import Bootstrap

#init the application
app = Flask(__name__,instance_relative_config= True)

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

#initialzing Flask Extention
bootstrap = Bootstrap(app)

from app import views
from app import error
<filename>app/__init__.py<gh_stars>0
from flask import Flask
from .config import DevConfig
from flask_bootstrap import Bootstrap

#init the application
app = Flask(__name__,instance_relative_config= True)

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

#initialzing Flask Extention
bootstrap = Bootstrap(app)

from app import views
from app import error
#init the application #setting up configuration #initialzing Flask Extention