from django.urls import path from django.conf import settings from django.conf.urls.static import static from .views import TournamentsView, TournamentView urlpatterns = [ path("", name="tournament_page"), path("", TournamentsView.as_view(), name="tournaments"), ]