diff options
author | 2018-02-09 12:19:55 +0000 | |
---|---|---|
committer | 2018-02-09 12:19:55 +0000 | |
commit | b38a9f56e54eb21eec37f40075399961ba82906f (patch) | |
tree | 3255dc43a11734726509a1ed79d7dfa1da02cb63 /pysite/views/main/index.py | |
parent | Weird, PyCharm didn't commit all my changes last push (diff) |
Move from straight app registration to Blueprints (#6)
Diffstat (limited to 'pysite/views/main/index.py')
-rw-r--r-- | pysite/views/main/index.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pysite/views/main/index.py b/pysite/views/main/index.py new file mode 100644 index 00000000..0c2d1578 --- /dev/null +++ b/pysite/views/main/index.py @@ -0,0 +1,10 @@ +# coding=utf-8 +from pysite.base_route import RouteView + + +class IndexView(RouteView): + path = "/" + name = "index" + + def get(self): + return self.render("index.html") |