aboutsummaryrefslogtreecommitdiffstats
path: root/pysite/views/main/ws_test_rst.py
blob: 9c2ee805d4d4f180eeb00138d3f677fae65bbb37 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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")
        )