summaryrefslogtreecommitdiffstats
path: root/ogcp/__init__.py
blob: 58ba0c3fe621db039ca079dd3e42f8a4a7f28327 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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__)
babel = Babel(app)
csrf = CSRFProtect(app)
bootstrap = Bootstrap(app)

app.secret_key = urandom(16)

import ogcp.views