diff options
author | 2018-02-09 12:19:55 +0000 | |
---|---|---|
committer | 2018-02-09 12:19:55 +0000 | |
commit | b38a9f56e54eb21eec37f40075399961ba82906f (patch) | |
tree | 3255dc43a11734726509a1ed79d7dfa1da02cb63 /pysite/views/main/invite.py | |
parent | Weird, PyCharm didn't commit all my changes last push (diff) |
Move from straight app registration to Blueprints (#6)
Diffstat (limited to 'pysite/views/main/invite.py')
-rw-r--r-- | pysite/views/main/invite.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/pysite/views/main/invite.py b/pysite/views/main/invite.py new file mode 100644 index 00000000..9563a5e6 --- /dev/null +++ b/pysite/views/main/invite.py @@ -0,0 +1,12 @@ +# coding=utf-8 +from flask import redirect + +from pysite.base_route import RouteView + + +class InviteView(RouteView): + path = "/invite" + name = "invite" + + def get(self): + return redirect("http://invite.pythondiscord.com/") |