generated from bisco/codex-bootstrap
feat: add booking REST API
This commit is contained in:
11
backend/shows/urls.py
Normal file
11
backend/shows/urls.py
Normal file
@@ -0,0 +1,11 @@
|
||||
from django.urls import path
|
||||
|
||||
from . import views
|
||||
|
||||
|
||||
urlpatterns = [
|
||||
path("shows/", views.show_list, name="api-show-list"),
|
||||
path("shows/<slug:slug>/", views.show_detail, name="api-show-detail"),
|
||||
path("performances/", views.performance_list, name="api-performance-list"),
|
||||
path("performances/<int:pk>/", views.performance_detail, name="api-performance-detail"),
|
||||
]
|
||||
Reference in New Issue
Block a user