from django.urls import path from . import views urlpatterns = [ path("shows/", views.show_list, name="api-show-list"), path("shows//", views.show_detail, name="api-show-detail"), path("performances/", views.performance_list, name="api-performance-list"), path("performances//", views.performance_detail, name="api-performance-detail"), ]