aboutsummaryrefslogtreecommitdiffstats
path: root/pysite/views/main/ws_test_rst.py
diff options
context:
space:
mode:
Diffstat (limited to 'pysite/views/main/ws_test_rst.py')
-rw-r--r--pysite/views/main/ws_test_rst.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/pysite/views/main/ws_test_rst.py b/pysite/views/main/ws_test_rst.py
new file mode 100644
index 00000000..9c2ee805
--- /dev/null
+++ b/pysite/views/main/ws_test_rst.py
@@ -0,0 +1,15 @@
+# coding=utf-8
+import os
+
+from pysite.base_route import RouteView
+
+
+class WSTest(RouteView):
+ path = "/ws_test_rst"
+ name = "ws_test_rst"
+
+ def get(self):
+ return self.render(
+ "main/ws_test_rst.html",
+ server_name=os.environ.get("SERVER_NAME", "localhost")
+ )