diff options
author | 2018-03-21 19:26:16 +0000 | |
---|---|---|
committer | 2018-03-21 19:26:16 +0000 | |
commit | ead7d4f4c5789fe2b5fa2d08175346fa8fcb24da (patch) | |
tree | 308a670bb92b4047a4e4fcfbbba37a9df1a3d762 /pysite/views/main/countdown.py | |
parent | Copy code from API error view over to normal error views because that's the w... (diff) |
Added a Code Jam Countdown (#1eevq) (#43)
* added countdown
* updated jam dates
* added test
* flake8
* flake8 (i did it on wrong file)
Diffstat (limited to 'pysite/views/main/countdown.py')
-rw-r--r-- | pysite/views/main/countdown.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pysite/views/main/countdown.py b/pysite/views/main/countdown.py new file mode 100644 index 00000000..f43d628c --- /dev/null +++ b/pysite/views/main/countdown.py @@ -0,0 +1,10 @@ +# coding=utf-8 +from pysite.base_route import RouteView + + +class CountdownView(RouteView): + path = "/countdown" + name = "countdown" + + def get(self): + return self.render("main/countdown.html") |