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
|
|
|
]
|