From 5c6bf7d2abee96e6baf6c2e851db503925fcc72a Mon Sep 17 00:00:00 2001 From: Gareth Coles Date: Tue, 6 Feb 2018 11:47:19 +0000 Subject: Template rendering --- pysite/views/index.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pysite/views/index.py') 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") -- cgit v1.2.3