from flask import Flask # create app app = Flask('kosten') # force autoescape in all files app.jinja_env.autoescape = True app.jinja_env.lstrip_blocks = True app.jinja_env.trim_blocks = True # load config app.config.from_pyfile('settings.py') from .model import db from .login import login_manager from . import views