From 772c6eff1fdcf3ab470290fea0d3a9b169e49de5 Mon Sep 17 00:00:00 2001 From: Midgard Date: Sat, 25 Jul 2020 21:25:39 +0200 Subject: [PATCH] Remove /test endpoint --- events/urls.py | 1 - events/views.py | 6 ------ 2 files changed, 7 deletions(-) diff --git a/events/urls.py b/events/urls.py index b476340..812d2d2 100644 --- a/events/urls.py +++ b/events/urls.py @@ -7,5 +7,4 @@ urlpatterns = [ path("", views.index, name="index"), path("/register", views.register, name="register"), path("/deregister", views.deregister, name="deregister"), - path("test/", views.view_score_stuff, name="score_stuff"), ] diff --git a/events/views.py b/events/views.py index a896dee..7f093f3 100644 --- a/events/views.py +++ b/events/views.py @@ -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)