aboutsummaryrefslogtreecommitdiffstats
path: root/pysite/views/index.py
diff options
context:
space:
mode:
authorGravatar Gareth Coles <[email protected]>2018-02-06 11:47:19 +0000
committerGravatar Gareth Coles <[email protected]>2018-02-06 11:47:19 +0000
commit5c6bf7d2abee96e6baf6c2e851db503925fcc72a (patch)
treef9230655306c69e7578a344c3b12b162c6c79ed9 /pysite/views/index.py
parentRevert "Mart's Missing Files 2: Electric Boogaloo" (diff)
Template rendering
Diffstat (limited to 'pysite/views/index.py')
-rw-r--r--pysite/views/index.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pysite/views/index.py b/pysite/views/index.py
index 2e779003..040332cc 100644
--- a/pysite/views/index.py
+++ b/pysite/views/index.py
@@ -1,12 +1,12 @@
# coding=utf-8
-from pysite.base_route import BaseView
+from pysite.base_route import RouteView
__author__ = "Gareth Coles"
-class IndexView(BaseView):
+class IndexView(RouteView):
path = "/"
name = "index"
def get(self):
- return "Coming soon:tm:"
+ return self.render("index.html")