Remove /test endpoint
This commit is contained in:
parent
264dc30639
commit
772c6eff1f
2 changed files with 0 additions and 7 deletions
|
@ -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"),
|
||||
]
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue