Remove /test endpoint

This commit is contained in:
Midgard 2020-07-25 21:25:39 +02:00
parent 264dc30639
commit 772c6eff1f
Signed by: midgard
GPG key ID: 511C112F1331BBB4
2 changed files with 0 additions and 7 deletions

View file

@ -7,5 +7,4 @@ urlpatterns = [
path("", views.index, name="index"),
path("<int:event_id>/register", views.register, name="register"),
path("<int:event_id>/deregister", views.deregister, name="deregister"),
path("test/", views.view_score_stuff, name="score_stuff"),
]

View file

@ -20,12 +20,6 @@ def index(request):
return render(request, "events/index.html", {"events": events_data})
def view_score_stuff(request):
return HttpResponse(
assign_reservations()
)
def register(request, event_id):
if request.method != "POST":
return HttpResponse(status_code=405)