summaryrefslogtreecommitdiffstats
path: root/ogcp/__init__.py
blob: 8c7c732df9f7837c7ff67bc0a10b314eaa5b9d36 (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/ogcp.json')
app.secret_key = urandom(16)

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


import ogcp.views