aboutsummaryrefslogtreecommitdiffstats
path: root/pysite/views/invite.py
diff options
context:
space:
mode:
authorGravatar martmists <[email protected]>2018-02-05 20:26:54 +0100
committerGravatar martmists <[email protected]>2018-02-05 20:26:54 +0100
commit80a1ab522e7a49f3ea1168d8658fbff293c866f1 (patch)
tree206a45b1a68c273db43ad04b105bcd3e7c48f565 /pysite/views/invite.py
parentDynamic route loader; proper application structure (diff)
Major update
- Switch to Japronto - More linters - Rewrite route handling - Rewrite error handling - Rewrite static handling - Error when no `Index` propery is found - Probably some more stuff? idk Code needs testing; Maybe we could use pytest? Signed-off-by: martmists <[email protected]>
Diffstat (limited to 'pysite/views/invite.py')
-rw-r--r--pysite/views/invite.py15
1 files changed, 0 insertions, 15 deletions
diff --git a/pysite/views/invite.py b/pysite/views/invite.py
deleted file mode 100644
index d035fc99..00000000
--- a/pysite/views/invite.py
+++ /dev/null
@@ -1,15 +0,0 @@
-# coding=utf-8
-from flask import redirect
-
-from pysite.base_route import BaseView
-
-
-__author__ = "Gareth Coles"
-
-
-class InviteView(BaseView):
- path = "/invite"
- name = "invite"
-
- def get(self):
- return redirect("http://invite.pythondiscord.com/")