aboutsummaryrefslogtreecommitdiffstats
path: root/pysite/views/wiki/special/index.py
diff options
context:
space:
mode:
authorGravatar Gareth Coles <[email protected]>2018-05-02 13:28:51 +0100
committerGravatar Gareth Coles <[email protected]>2018-05-02 13:28:51 +0100
commit3bdffd9cfb61c8a8e75c472765fbb738a67c6ca0 (patch)
treef92ee5acfb48461c9a66da46460f51ff8d62828a /pysite/views/wiki/special/index.py
parentFixed those pesky rapper names. (#66) (diff)
Add special pages and an "all pages" special page
Diffstat (limited to 'pysite/views/wiki/special/index.py')
-rw-r--r--pysite/views/wiki/special/index.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/pysite/views/wiki/special/index.py b/pysite/views/wiki/special/index.py
new file mode 100644
index 00000000..15c0a649
--- /dev/null
+++ b/pysite/views/wiki/special/index.py
@@ -0,0 +1,10 @@
+from pysite.base_route import RouteView
+from pysite.mixins import DBMixin
+
+
+class PageView(RouteView, DBMixin):
+ path = "/special"
+ name = "special"
+
+ def get(self):
+ return self.render("wiki/special.html")