diff options
Diffstat (limited to 'pysite/views')
-rw-r--r-- | pysite/views/error_handlers/http_404.py (renamed from pysite/views/main/error_handlers/http_404.py) | 0 | ||||
-rw-r--r-- | pysite/views/error_handlers/http_5xx.py (renamed from pysite/views/main/error_handlers/http_5xx.py) | 0 | ||||
-rw-r--r-- | pysite/views/main/error_handlers/__init__.py | 1 | ||||
-rw-r--r-- | pysite/views/main/index.py | 2 | ||||
-rw-r--r-- | pysite/views/main/ws_test.py | 2 | ||||
-rw-r--r-- | pysite/views/staff/index.py | 2 |
6 files changed, 3 insertions, 4 deletions
diff --git a/pysite/views/main/error_handlers/http_404.py b/pysite/views/error_handlers/http_404.py index 1d557d9b..1d557d9b 100644 --- a/pysite/views/main/error_handlers/http_404.py +++ b/pysite/views/error_handlers/http_404.py diff --git a/pysite/views/main/error_handlers/http_5xx.py b/pysite/views/error_handlers/http_5xx.py index ed4d8d82..ed4d8d82 100644 --- a/pysite/views/main/error_handlers/http_5xx.py +++ b/pysite/views/error_handlers/http_5xx.py diff --git a/pysite/views/main/error_handlers/__init__.py b/pysite/views/main/error_handlers/__init__.py deleted file mode 100644 index 9bad5790..00000000 --- a/pysite/views/main/error_handlers/__init__.py +++ /dev/null @@ -1 +0,0 @@ -# coding=utf-8 diff --git a/pysite/views/main/index.py b/pysite/views/main/index.py index 0c2d1578..210eb057 100644 --- a/pysite/views/main/index.py +++ b/pysite/views/main/index.py @@ -7,4 +7,4 @@ class IndexView(RouteView): name = "index" def get(self): - return self.render("index.html") + return self.render("main/index.html") diff --git a/pysite/views/main/ws_test.py b/pysite/views/main/ws_test.py index c28269a8..c53515c5 100644 --- a/pysite/views/main/ws_test.py +++ b/pysite/views/main/ws_test.py @@ -10,6 +10,6 @@ class WSTest(RouteView): def get(self): return self.render( - "ws_test.html", + "main/ws_test.html", server_name=os.environ.get("SERVER_NAME", "localhost") ) diff --git a/pysite/views/staff/index.py b/pysite/views/staff/index.py index c23af392..19e89333 100644 --- a/pysite/views/staff/index.py +++ b/pysite/views/staff/index.py @@ -7,4 +7,4 @@ class StaffView(RouteView): name = "staff" def get(self): - return self.render("staff.html") + return self.render("staff/staff.html") |