from boiler import bootstrap

# create app
app = bootstrap.create_app(__name__, config=bootstrap.get_config())

# enable features
bootstrap.add_routing(app)
# bootstrap.add_localization(app)
# bootstrap.add_routing(app)
# bootstrap.add_orm(app)
# bootstrap.add_logging(app)
# bootstrap.add_mail(app)
# bootstrap.add_jinja_extensions(app)
# bootstrap.add_navigation(app)
# bootstrap.add_debug_toolbar(app)

from boiler import bootstrap

# create app
app_name = os.environ.get('APP_MODULE')
app = bootstrap.create_app(name=app_name, config=bootstrap.get_config())

# enable features
bootstrap.add_routing(app)
# bootstrap.add_localization(app)
# bootstrap.add_routing(app)
# bootstrap.add_orm(app)
# bootstrap.add_logging(app)
# bootstrap.add_mail(app)
# bootstrap.add_jinja_extensions(app)
# bootstrap.add_navigation(app)
# bootstrap.add_debug_toolbar(app)

Update app.py