aboutsummaryrefslogtreecommitdiffstats
path: root/pysite/views/index.py
diff options
context:
space:
mode:
authorGravatar Gareth Coles <[email protected]>2018-02-05 12:22:49 +0000
committerGravatar Gareth Coles <[email protected]>2018-02-05 12:22:49 +0000
commitbeaa61362aed31f229c935a347e382024eee5a90 (patch)
tree4d9cf54e44b7fea4124389098fd0fa37a17cdad9 /pysite/views/index.py
parentAdd templates & static folder with .gitkeep's (diff)
Dynamic route loader; proper application structure
Also fixed flake8-imports getting the other wrong
Diffstat (limited to 'pysite/views/index.py')
-rw-r--r--pysite/views/index.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/pysite/views/index.py b/pysite/views/index.py
new file mode 100644
index 00000000..2e779003
--- /dev/null
+++ b/pysite/views/index.py
@@ -0,0 +1,12 @@
+# coding=utf-8
+from pysite.base_route import BaseView
+
+__author__ = "Gareth Coles"
+
+
+class IndexView(BaseView):
+ path = "/"
+ name = "index"
+
+ def get(self):
+ return "Coming soon:tm:"