Commit 07dcf228 authored by echel0n's avatar echel0n

Added GET method to AddNewShow handler, redirects request to home instead of...

Added GET method to AddNewShow handler, redirects request to home instead of throwing HTTP 405 error.
parent 1b448d72
......@@ -368,6 +368,10 @@ class AddShowByIDHandler(BaseHandler, ABC):
class AddNewShowHandler(BaseHandler, ABC):
@authenticated
async def get(self, *args, **kwargs):
return self.redirect("/home/")
@authenticated
async def post(self, *args, **kwargs):
"""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment