summaryrefslogtreecommitdiffstats
path: root/ogcp/__init__.py
diff options
context:
space:
mode:
authorRoberto Hueso Gómez <rhueso@soleta.eu>2020-08-31 11:55:19 +0200
committerRoberto Hueso Gómez <rhueso@soleta.eu>2020-08-31 11:58:27 +0200
commitdf2e425b346b95c6493a684025374b956349a0da (patch)
tree7dcceec2a1c7dc863ea98c733abd638a46e6656a /ogcp/__init__.py
parent0e160da4c03ebb197793f8ebd3ebf543b22bc566 (diff)
Add basic backend structure
This adds views functions and ogServer config loading.
Diffstat (limited to 'ogcp/__init__.py')
-rw-r--r--ogcp/__init__.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/ogcp/__init__.py b/ogcp/__init__.py
new file mode 100644
index 0000000..1fda3f1
--- /dev/null
+++ b/ogcp/__init__.py
@@ -0,0 +1,6 @@
+from flask_babel import Babel
+from flask import Flask
+app = Flask(__name__)
+babel = Babel(app)
+
+import ogcp.views