plateforme-tfjm2/apps/tournament/urls.py

11 lines
266 B
Python
Raw Normal View History

2020-04-29 14:26:52 +00:00
from django.urls import path
2020-04-29 14:59:59 +00:00
from .views import TournamentListView, TournamentDetailView
2020-04-29 14:26:52 +00:00
app_name = "tournament"
urlpatterns = [
path('list/', TournamentListView.as_view(), name="list"),
2020-04-29 14:59:59 +00:00
path('<int:pk>/', TournamentDetailView.as_view(), name="detail"),
2020-04-29 14:26:52 +00:00
]