labs/tournamentpages/urls.py

9 lines
195 B
Python

from django.urls import path
from .views import *
urlpatterns = [
path('<int:id>', HomeView.as_view(), name='homepage'),
path('<int:id>/<str:page>', PageView.as_view(), name='page'),
]