The index view is a Python function that accepts the request data and redirects it to the arena view, with a decorator (require_http_methods) prior to restricting the HTTP requests allowed:
@require_http_methods(["GET", "POST"])
def index(request):
return redirect(arena)