from flask import Blueprint

main = Blueprint('main',__name__)

from . import views,error
#
def create_app(config_name):
    app= Flask(__name__)

    #creating the app configurations
    app.config.from_object(config_options[config_name])

    #initializing flask extensions
    bootstrap.init_app(app)

    #registering the blueprint
    from .main import main as main_blueprint
    app.register_blueprint(main_blueprint)

    return app
from flask import Blueprint

main = Blueprint('main',__name__)

from . import views,error
#
def create_app(config_name):
    app= Flask(__name__)

    #creating the app configurations
    app.config.from_object(config_options[config_name])

    #initializing flask extensions
    bootstrap.init_app(app)

    #registering the blueprint
    from .main import main as main_blueprint
    app.register_blueprint(main_blueprint)

    return app
# #creating the app configurations #initializing flask extensions #registering the blueprint