summaryrefslogtreecommitdiffstats
path: root/ogcp/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'ogcp/__init__.py')
-rw-r--r--ogcp/__init__.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/ogcp/__init__.py b/ogcp/__init__.py
index 58ba0c3..fb860b9 100644
--- a/ogcp/__init__.py
+++ b/ogcp/__init__.py
@@ -5,10 +5,12 @@ 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)
-app.secret_key = urandom(16)
import ogcp.views