Remove hardcoded "A" and "I" #7
2 changed files with 0 additions and 8 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,13 +20,6 @@ def index(request):
|
|||
return render(request, "events/index.html", {"events": events_data})
|
||||
|
||||
|
||||
def view_score_stuff(request):
|
||||
return HttpResponse(
|
||||
assign_reservations(),
|
||||
content_type="text/plain; charset=utf-8"
|
||||
)
|
||||
|
||||
|
||||
def register(request, event_id):
|
||||
if request.method != "POST":
|
||||
return HttpResponse(status_code=405)
|
||||
|
|
Loading…
Reference in a new issue