diff options
author | 2018-02-06 11:47:19 +0000 | |
---|---|---|
committer | 2018-02-06 11:47:19 +0000 | |
commit | 5c6bf7d2abee96e6baf6c2e851db503925fcc72a (patch) | |
tree | f9230655306c69e7578a344c3b12b162c6c79ed9 /pysite/views/index.py | |
parent | Revert "Mart's Missing Files 2: Electric Boogaloo" (diff) |
Template rendering
Diffstat (limited to 'pysite/views/index.py')
-rw-r--r-- | pysite/views/index.py | 6 |
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") |