summaryrefslogtreecommitdiff
path: root/app/__init__.py
blob: 9a76b6d221455bd2f1c93afb9144af23eb260859 (plain)
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