summaryrefslogtreecommitdiffstats
path: root/ogcp/__init__.py
blob: fb860b9cb6b4febcfb67a8e4b60a3e040274e418 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
from flask_wtf.csrf import CSRFProtect
from flask_bootstrap import Bootstrap
from flask_babel import Babel
from flask import Flask
from os import urandom

app = Flask(__name__)
app.config.from_json('cfg/ogserver.json')
app.secret_key = urandom(16)

babel = Babel(app)
csrf = CSRFProtect(app)
bootstrap = Bootstrap(app)


import ogcp.views