from django.urls import path from .views import ( AttemptStartView, AttemptSubmitView, ContestListView, LeaderboardView, MatchmakingView, MatchStateView, ) urlpatterns = [ path("", ContestListView.as_view(), name="contest-list"), path("/start/", AttemptStartView.as_view(), name="attempt-start"), path("/matchmaking/", MatchmakingView.as_view(), name="matchmaking"), path("/leaderboard/", LeaderboardView.as_view(), name="leaderboard"), path("attempts//submit/", AttemptSubmitView.as_view(), name="attempt-submit"), path("matches//", MatchStateView.as_view(), name="match-state"), ]