from django.contrib import admin from django.urls import path, include from django.views.generic.base import TemplateView from . import views urlpatterns = [ path("", TemplateView.as_view(template_name="listing.html"), name="listing"), path("home", TemplateView.as_view(template_name="home.html"), name="home"), path('tournament/', include('tournament.urls')), path("player/", include("player.urls")), path("player/", include("django.contrib.auth.urls")), ]