1 2 3 4 5 6 7 8 9 10 11 12 13 14
from flask import Flask # create app app = Flask('kosten') # force autoescape in all files app.jinja_env.autoescape = True # load config app.config.from_pyfile('settings.py') from .model import db from .login import login_manager from . import views