Files
benchcoach-django/players/urls.py
2021-11-14 17:03:08 -06:00

13 lines
377 B
Python

from django.urls import path, include
from .views import PlayerListView
from . import views
urlpatterns = [
path('', views.root, name="root"),
# path('list', views.list, name="players list"),
path('list', PlayerListView.as_view(), name='players list'),
path('edit/<int:id>', views.edit, name="edit player"),
path('edit', views.edit, name="edit player")
]